CSS Caching With Cloudflare

Ezoic Customer Service -

Caching refers to the short-term storage of web files such as CSS stylesheet, files, pictures etc. by the web browser.

If you're using CloudFlare, they will cache your CSS (cascading style sheets) for a long time. This means that if you make changes to your CSS, it will take a while before seeing them on the live site. 

The way of dealing with this is to change the HTML to include a query parameter at the end of your link to the CSS. Even though your server will ignore the query parameter, every time you change its value it will cause CloudFlare to re-query your server for content, and will then cache the new version. 

You can read more about this strategy by clicking here.

Got a question that wasn't answered here? Feel free to reach out to our support team by emailing support@ezoic.com and they'll endeavour to get back to you as quickly as possible!

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk