Clear Cache for Specific Site in Firefox
To clear the cache for a single site in Firefox, open the Developer Tools, go to the Storage tab, find the site’s data, and delete it.
Background
Firefox stores web content in a cache so pages load faster on subsequent visits. The cache is shared across all sites, but sometimes a specific site’s data becomes corrupted or outdated, causing display errors or stale content. Clearing only that site’s cache avoids the need to reset the entire browser or log out of other services.
How the Cache Works
The browser’s cache is a local storage area that holds copies of files such as HTML, CSS, JavaScript, images, and other resources. When a page is requested, the browser first checks the cache for a valid copy. If the cached entry is still fresh according to its HTTP headers, the browser serves it directly, saving a round‑trip to the server. If the entry is stale or missing, the browser downloads a fresh copy.
Firefox keeps the cache in a directory under %APPDATA%\Mozilla\Firefox\Profiles\…\cache2 on Windows, ~/.cache/mozilla/firefox/… on Linux, and ~/Library/Caches/Firefox/… on macOS. However, interacting with these files directly is error‑prone; the built‑in Developer Tools provide a safer interface.
Choosing Which Cache to Clear
Before you delete anything, decide what you want to remove:
- HTTP cache only – removes stored copies of files but keeps cookies and local storage.
- Cookies & site data – clears login sessions and site preferences.
- Local Storage & IndexedDB – wipes data stored by the site’s scripts.
- All storage – the most thorough option, resetting the site to a brand‑new state.
Most users only need to clear the HTTP cache, but if a site is still misbehaving after that, expand the scope.
Step‑by‑Step Instructions
- Open the target website in Firefox.
- Press F12 or click the menu button, choose Web Developer → Toggle Tools to open the Developer Tools panel.
- Click the Storage tab. If you don’t see it, click the » icon to reveal hidden tabs.
- In the left pane, expand Cache Storage. A list of origins will appear; locate the origin that matches the site you want to clear.
- Click the origin. The right pane shows the cached resources.
- Right‑click the origin name and choose Delete All to remove all cached files for that site.
- Repeat the process for other storage categories if needed (Cookies, Local Storage, IndexedDB).
After deletion, refresh the page to confirm the site loads fresh resources.
Common Problems & Fixes
Problem: The Storage tab is missing
Older Firefox builds used the Network panel for cache clearing. If you’re on Firefox 102 or newer, Storage is the correct location. If you still can’t see it, enable the Developer Tools Settings (gear icon) and ensure Storage Inspector is checked.
Problem: Resources keep loading from cache after deletion
Sometimes the browser keeps a reference to a cached entry in memory. Close all tabs for that site, then restart Firefox. Alternatively, use the Clear Cache button in the Network panel: open Network, click the gear icon, and tick Clear Cache before reloading.
Problem: The site still shows old content
Check if the site uses service workers to cache assets. In the Application panel of Chrome, you would unregister the worker; in Firefox, open the Developer Tools → Service Workers tab and click Unregister. After that, clear the cache again.
Alternatives to Developer Tools
If you prefer a menu‑based approach, use the following steps:
- Open the Menu → Settings → Privacy & Security.
- Under Cookies and Site Data, click Manage Data….
- Search for the site, select it, and click Remove Selected to delete cookies and cache.
This method removes both cookies and cached files but is less granular than the Developer Tools.
Safety Considerations
Clearing cache is safe and does not affect your personal files. However, deleting cookies will log you out of sites and may reset preferences. Always double‑check the origin before deleting. If you’re unsure, choose Delete All only for the specific origin listed, not for All Sites.
Frequently Asked Questions
Can I clear the cache for a site without opening Developer Tools?
Yes. Use Settings → Privacy & Security → Manage Data. Search for the site and remove it, which deletes both cookies and cached files.
What happens if I delete the site’s cookies but not its cache?
Cookies store session data, so you’ll be logged out. The cached files remain, so the site may still load old resources until the cache expires or you clear it.
Does clearing cache affect my browsing history?
No. Browsing history is separate from the cache. Clearing cache only removes stored copies of web resources.
Is it possible to clear cache for multiple sites at once?
In the Storage tab, you can select multiple origins by holding Ctrl (or Cmd on macOS) and clicking each. Then choose Delete All to remove them together.
Will clearing cache improve Firefox’s performance?
Only if the cache is corrupted or full. A healthy cache speeds up page loads. Clearing it removes stale entries but may temporarily slow first visits until new data is cached.
How often should I clear site caches?
Only when troubleshooting or when a site’s content is outdated. Regular clearing is unnecessary and can increase network traffic.
By following these steps, you can target a single site’s cache in Firefox without disrupting other browsing data, keeping your browser clean and responsive.