Content not Being Cached After activating Cloudflare on my site, I am seeing that resources on my pages are not being cached

Hi [Customer Name],
Thanks for providing the output looking at the responce header
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, max-age=0
I see that cache-control is set to prevent caching.
The no-store in particular, tells cloudflare and other providers not to cache the resource.

To enable caching I suggest updating cache-control to something like
Cache-Control: public, max-age=86400
This tells cloudflare to cache the resources for 24 hours.
For more detail, here is cloudflare's documentation on cache control
DevDocument If you have any further questions or need additional assistance, please don’t hesitate to reach out.

Thank you,
Cloudflare Support

Thought process used
Analyze headers, Cloudflare Cache Rules, Documentation

← Back to Home