this post was submitted on 19 May 2025
1 points (100.0% liked)
Lemmy Support
5065 readers
3 users here now
Support / questions about Lemmy.
founded 7 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments


this is most likely the case, pict-rs headers allow caching basically forever and don't include revalidation. i'll bring this up with the pict-rs dev about changing the default or adding a config option for this.
something like
s-maxageshould do the job, though it'd probably be up to the instance operator to decide on a sane value for that, as it will always be a tradeoff.ideally, lemmy would have a mechanism for cache purging, but i suspect that this might be something that people will have to implement themselves using the 1.0 plugin system at some point, as it's probably not going to become core functionality to support e.g. cloudflare cache purging.
Probably both this and cloudflare caching. Looks like I set CF to cache for 1 year at some point, I can lower it... but that won't "fix" this, only limit the time its an issue for.