20
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 29 Aug 2023
20 points (85.7% liked)
sdfpubnix
1291 readers
1 users here now
Fans of SDF
founded 1 year ago
MODERATORS
~~Just a note: The images themselves don't get federated, just the links to them (except thumbnails on posts). So the content is only on the instance it originates from. This at least makes the issue slightly better as hosting the images would be far worse.~~
Edit: Oh no, it seems the full resolution images are (at least sometimes) indeed getting cached.
Theoretically they can actually be federated when encoded as
![](data:image/gif;base64,R0lGODdhXAAxAPIAAAAAAObm+r6+vi6LV////7+/vwAAAAAAACwAAAAAXAAxAAAD/li6Nf4wykmrvdixnbv/oLU1EWGeaKqubOu+rcSUcG3fOBst0Bn+wJDvQXoMg8hk5VgcHJXQqNM0oUqvUGuPIOH2qt5rmOIdX7QOdLpExjrP645aveaOteUwnrqnWed8R3RTNFVvenF2dWmKb4dxX45mZUaSXZNmlXdDjYmNlChdiWyOh0+MhYZ3bKColI9tlpGImUaYbbeetpWyg5K1nXlgqW7FQIDGyUK5ys0YyM7RS8zEoYQ6jNYqtn95oTGXxNWcm+Hj2cKEZLW7W+vcge7iqPQp6r7q7/LmUz5odAD1eIuXj9+wfePsPAkoyF62fgMz4StIsV0/iAjpbQGk17DbNAvQ+JErN+/aJm8aDar0tQelxZf1BLrENzFkwpcMybVriM7mSnbSogUMSjQlt6LSTh1FquyJgo1MjTl9ujGH1atY1czwk7Wr1207OEQlOoLH2GZlywIQICAAgLRw48qdS1fB2rZv69pl61av379/7/b1Kzgv4MOIRxQOzNdw4seHFxNuDLkyYMl6MVveLFczXc+cQ28ADfctadGiTysuAGAtgL6OUXM2TfkzawKmcbOWHRoAbgICXtuN2zqvccPFY/O+/Nt3buXLo49ufcI3buvX8yYAADs=)
data:
URI, but thankfully there's a limit of 10k characters which is basically nothing when you want to put image into it.Example:
I haven't looked into the code yet but, I was given the understanding that Lemmy also implements a local pull-through cache for images in order to try to improve performance. So, if a user on our instance came upon CSAM or other illegal images while browsing through SDF, a local copy may be cached.
Oh, crap! You're right. I just stumbled upon a post with image on i.redd.it. At first it didn't load, as expected since I blocked *.redd.it domain, but then after a while it did. I checked the image URL, and indeed it's coming through lemmy.sdf.org. And this time it's the full resolution image. Maybe it wouldn't be a bad idea to disable that if it's possible.