Hi,
Those rules are for the first text/html
type request. And not for the static files. If you want the plugin to add proper caching for the static file then please enable the option for adding browser cache rule for static files in the plugin settings under the cache tab.
I will highly recommend you not to tinker with the default value for the text/html
type requests unless you absolutely know what you are doing as it can have very bad effect on your site.
First inside the cloudflare dashboard the Borwser TTL
should always be set to Respect Header
. Secondly the reason the max-age
is set to 60 seconds is because you won’t want the user browsers to cache the HTML pages for too long as the HTML pages might change it’s content and users might not see the updated content.
That is why we set the s-maxage
value to 1 year by default which tells CF for how long you want your pages to be cached in CF CDN. So, if a page gets updated the CF cache will be purged and the browser will get the updated page from CF CDN. Also as the CF CDN is so close to your location you will have the lowest TTFB.