What clearing your cache does and why you might need to
Your Firefox browser stores copies of web pages, images, and files you've visited so they load faster next time. Over time this cache takes up disk space and can sometimes cause websites to load outdated versions of pages. Clearing it is straightforward and takes less than a minute.
You might clear your cache if a website looks broken, if you're troubleshooting a loading problem, or simply to free up storage space on your computer. Firefox lets you clear everything at once or choose exactly what to delete and how far back to go.
Key Takeaways
- Open Firefox settings by pressing Ctrl+Shift+Delete on Windows or Command+Shift+Delete on Mac to jump straight to the cache clearing screen.
- You can clear just the cache, or select additional items like cookies and browsing history from the same menu.
- Choose "Everything" to clear all cached data, or pick a specific time range like "Last Hour" or "Last 24 Hours" if you only want to remove recent files.
- Clearing cache does not delete your saved passwords or bookmarks unless you specifically check those boxes.
The fastest way: keyboard shortcut
The quickest route is to use Firefox's keyboard shortcut. On Windows, press Ctrl+Shift+Delete. On Mac, press Command+Shift+Delete. This opens the "Clear Recent History" window directly.
Once the window opens, you'll see a dropdown menu at the top that says "Time range to clear". Leave it set to "Everything" unless you only want to remove recent cache. Then click the "Clear Now" button at the bottom right. That's it — your cache is cleared.
Using the Firefox menu if the shortcut doesn't work
If the keyboard shortcut doesn't open the cache window, you can reach the same screen through the menu. Click the three horizontal lines (hamburger menu) in the top right corner of Firefox, then select "Settings".
In the Settings window, click "Privacy & Security" on the left side. Scroll down until you see the section labeled "Cookies and Site Data". Click the button that says "Clear Data". A small window will pop up with checkboxes for different types of data. Make sure "Cached Web Content" is checked, then click "Clear".
Choosing what to delete and how far back
The "Clear Recent History" window gives you control over what gets deleted. You'll see checkboxes for different types of data: Cookies and Site Data, Cached Web Content, Browsing & Download History, and others. By default, "Cached Web Content" is checked. Leave it checked unless you have a reason to uncheck it.
The "Time range to clear" dropdown at the top lets you choose how far back to go. "Everything" clears all your cached data. "Last Hour" clears only what was cached in the past hour. "Last 24 Hours", "Last 7 Days", and "Last 4 Weeks" are also options. Pick whichever matches what you need to clear.
If you want to clear cookies at the same time — which can help if a website is misbehaving — check the "Cookies and Site Data" box as well. Just know that this will log you out of most websites you're signed into.
What gets deleted and what stays
Clearing your cache removes stored web pages, images, and temporary files. It does not delete your saved passwords, bookmarks, or autofill information unless you specifically check those boxes in the clear history window. Your browsing history also stays unless you check "Browsing & Download History".
After you clear the cache, websites may load slightly slower the first time you visit them because Firefox has to download fresh copies of the files. This slowdown is temporary and usually unnoticeable. The next time you visit, they'll load from the new cache.
Setting Firefox to clear cache automatically
If you want Firefox to clear your cache every time you close the browser, you can set that up in Settings. Click the hamburger menu, select "Settings", then go to "Privacy & Security". Under the "Cookies and Site Data" section, check the box that says "Delete cookies and site data when Firefox is closed".
This option clears cookies and site data but not the full cache by default. If you want to also clear cached web content automatically, you'll need to use a Firefox extension designed for that purpose, since Firefox doesn't offer a built-in option to auto-clear the full cache on close.
Troubleshooting if clearing cache doesn't fix the problem
If a website still looks broken or loads incorrectly after clearing your cache, try a hard refresh. On Windows, press Ctrl+Shift+R. On Mac, press Command+Shift+R. This forces Firefox to download a completely fresh copy of the page instead of using any stored version.
If the problem persists, the issue is likely on the website's end, not your cache. Try visiting the site in a different browser to confirm, or wait a few hours and try again. You can also try disabling extensions temporarily — sometimes a Firefox extension interferes with how a page loads.
Frequently Asked Questions
Will clearing my cache delete my passwords?
No. Passwords are stored separately and are not affected by clearing cache. Only cookies and site data are cleared by default. If you want to delete saved passwords, you have to check that box separately in the clear history window.
How often should I clear my cache?
There's no set rule. If you're not running low on storage space, you don't need to clear it regularly. If your disk is full or websites are loading incorrectly, clearing it once solves the problem. Some people clear it weekly for privacy reasons.
What's the difference between cache and cookies?
Cache stores images and files to make pages load faster. Cookies store information like login details and preferences. Clearing one doesn't affect the other unless you clear both at the same time.
Can I clear cache for just one website?
Firefox doesn't have a built-in option to clear cache for a single site. You can clear all cache, or use an extension that offers per-site clearing. The easiest workaround is to do a hard refresh (Ctrl+Shift+R on Windows, Command+Shift+R on Mac) for that specific page.
Does clearing cache make Firefox faster?
Not usually. A full cache makes Firefox load pages faster because it doesn't have to download files again. Clearing it may actually make browsing slightly slower at first. Clear cache only if you're troubleshooting a problem or need the disk space.