After adding “immutable” to the Cache-Control header, Cloudflare no longer appears to cache responses.
Could anyone confirm this is a bug and when it is likely to be fixed?
Example request header:
Cache-Control: public, max-age=31536000,no-transform,immutable
Response headers never contains after subsequent requests:
CF-Cache-Status: HIT
Expect response to be more likely to be cached.
For that header to work you’d need to add a page rule with the setting “Origin Cache Control” set to ON.
For details:
https://support.cloudflare.com/hc/en-us/articles/115003206852-Origin-Cache-Control
2 Likes
Thank you for your fast response. Caching is now fixed.
2 Likes
system
Closed
4
This topic was automatically closed after 14 days. New replies are no longer allowed.