pull down to refresh
21 sats \ 1 reply \ @nout 17 May 2022 \ parent \ on: Daily discussion thread
It would be great to set some browser caching headers on those images, currently those seem to refetched every time - at least from what I can tell. Does S3 have a setting for that?
Does the image URL change when user uploads a new version? If yes, then you could essentially cache those forever:
It would also probably be good idea to gzip (or ideally brotli) those images on response ;)
Iām going to put a CDN in front of them with long expiries. We ship incrementally around here š
reply