Skip to content
Discussion options

You must be logged in to vote

So... I was sure that this must have been a code example, not a reflection on the actual behavior... But, then I found this code, which really looks like a default value of 60 seconds for image caching.

This seems related,

Static images are immutable. They receive a unique hash at build time. So if you change the image's content, the hash also changes, and a new request is made. So there is no point in low cache values.

Dynamic images, however, are not immutable, since they are nondeterministic (you can't be sure of their content). minimumCacheTTL is used to configure such dynamic images, not static.

I also found this which quotes old documentation,

If no max-age value is provided in …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bestickley
Comment options

bestickley Feb 20, 2025
Maintainer Author

@coltenkrauter
Comment options

Answer selected by bestickley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants