For the CSS and JS files (requests) of your website I got cf-cache-status
with the value HIT and cache-control
with the value of max-age=14400 (14 400 seconds = 4 hours you have to wait before the Cloudflare would “grab” the new version of that files regarding the modification time and made changes of them).
What settings have you got selected and enabled at Cloudflare under :
- Speed → Optimization
- Caching → Configuration → Cache Level
- Caching → Configuration → Browser Cache TTL
- Page Rules - if any
There is a way to Purge specific Cached files separately when you make changes and if they are cached (by default).
Or Purge All the cached files.
Or even adding the ?parameter=value
(version=date_time or version number) at the end of your request files like ?version=1001
, so the Cloudflare would always have to cache it, and if you change the value all the visitors should have the latest CSS/JS file at their Web browser.
- hopefully in a case where you do not use
Cache Everything
, which would cache the whole HTML webpage and files, so no matter of changes made the visitor woudl still have the cached version at Web browser for a the period of time as defined …
Moreover, you can lower the value for TTL cache of the requested files.
You can achieve this using Page Rules for specific, for example: