Firefox keeps loading an old cached version of my website files
I am having an issue where Firefox sometimes keeps showing an older version of my website even after I update CSS or JavaScript files. A normal refresh does not always show the latest changes, but clearing the browser cache fixes the issue.
Is there a way to refresh or clear the cache for only one website without clearing all browsing data? I would like to keep the cache and login data for my other websites.
All Replies (2)
Use the shift key when you refresh at home
or add the meta refresh on your site
You can drop just the caches: How to clear the Firefox cache (it's ephemeral so other sites won't mind…) — or check how to clear site data just for the current host: Clear cookies and site data in Firefox has the section describing the shield toolbar icon path.
Depending on your content delivery caching, you might wanna also signal to your host(s) to serve you fresh assets; usually checking the box to disable caches in devtools (Network pane) is enough: