Clear Cache in Firefox: A Complete Guide
To clear the cache in Firefox, open the Settings menu, go to Privacy & Security, and under Cookies and Site Data click Clear Data, then select Cached Web Content and confirm. You can also use the keyboard shortcut Ctrl+Shift+Delete (Windows/Linux) or Cmd+Shift+Delete (Mac) to open the Clear Recent History dialog, where you can choose to clear only the cache. Clearing the cache removes temporary files that Firefox stores to speed up browsing, which can resolve loading issues, free up disk space, and protect privacy, but it also means sites may load more slowly the next time you visit them.
What the Cache Is and Why Firefox Uses It
Every time you visit a website, Firefox downloads elements like HTML files, CSS stylesheets, JavaScript, images, and fonts. To avoid re-downloading these files on every visit, Firefox stores copies in a local cache on your computer. This cache acts as a short-term memory: when you return to a site, Firefox can load many components from disk instead of the network, making pages appear faster and reducing data usage. The cache is separate from cookies and site data, which store things like login states and preferences. Clearing the cache does not sign you out of websites or delete your bookmarks, history, or saved passwords—those are managed separately.
The cache has a limited size and is managed automatically. Firefox evicts older entries as new ones are added, so it rarely grows uncontrollably. However, cached files can become outdated or corrupted, leading to problems like stale content, layout glitches, or errors when a site updates. Clearing the cache forces Firefox to fetch fresh copies, which is why it's a common troubleshooting step.
How to Clear the Cache in Firefox
There are several ways to clear the cache in Firefox, depending on whether you want to clear everything or just the cache for a specific site. The methods below work in recent versions of Firefox; menu labels may vary slightly between versions and operating systems.
Method 1: Clear Only the Cache via Settings
- Click the menu button (three horizontal lines) in the top-right corner and choose Settings (on macOS, choose Preferences from the Firefox menu).
- Select Privacy & Security from the left sidebar.
- Scroll down to the Cookies and Site Data section and click Clear Data….
- In the dialog that appears, check only Cached Web Content. Make sure Cookies and Site Data is unchecked if you want to keep your logins and preferences.
- Click Clear and then Clear Now if prompted.
Method 2: Clear Cache and Other Data via Clear Recent History
- Press Ctrl+Shift+Delete (Windows/Linux) or Cmd+Shift+Delete (Mac).
- In the Clear Recent History dialog, set Time range to clear to Everything to clear the entire cache, or choose a shorter period.
- Click the arrow next to Details to expand the list of items.
- Check Cache and uncheck other items you want to keep (like Browsing & Download History, Cookies, etc.).
- Click Clear Now.
Method 3: Clear Cache for a Single Site
If you suspect one website is serving stale content, you can clear its cache without affecting others. While on the site, click the padlock icon in the address bar, click Clear cookies and site data…, and confirm. Note that this also clears cookies for that site, so you may be signed out. Alternatively, use the Forget About This Site option from the history menu, which removes all stored data for that domain.
What Clearing the Cache Does and Does Not Affect
Understanding the scope of cache clearing helps avoid surprises. Here's what is and isn't removed:
- Removed: Temporary web content such as images, scripts, and stylesheets stored to speed up loading.
- Not removed: Cookies, site preferences, saved passwords, bookmarks, browsing history, extensions, and downloaded files.
- Not removed: Data stored by web apps in IndexedDB or localStorage (though some clearing options may include these under "Site Data").
Clearing the cache does not delete your personal files or affect other browsers. It also does not uninstall Firefox or reset your settings. After clearing, the first visit to each site will be slower as Firefox re-downloads resources, but subsequent visits will benefit from a fresh cache.
When You Should Clear Your Cache
Clearing the cache is not something you need to do regularly; Firefox manages it automatically. However, it can be useful in specific situations:
- Website updates: A site has changed but you're still seeing the old version.
- Loading errors: Pages fail to load completely, show broken layout, or display outdated information.
- Privacy: You want to remove traces of sites you've visited (though this is limited, as history and cookies remain).
- Disk space: You need to free up storage space, though the cache is usually small (typically a few hundred MB).
- Troubleshooting: You're trying to fix a problem and clearing the cache is a recommended step.
If you experience issues only on one site, try clearing the cache for that site first. If problems persist across many sites, clearing the entire cache may help.
Common Problems and Misconceptions
Many users confuse the cache with cookies or history. Clearing cookies signs you out of websites and resets preferences, while clearing the cache does not. Another misconception is that clearing the cache improves security; while it removes temporary files, it doesn't erase your browsing history or prevent tracking. Some believe that clearing the cache will speed up Firefox—in reality, it may slow down the first load of sites afterward. Also, clearing the cache does not fix all loading issues; problems like network errors, extension conflicts, or corrupted profiles may require other solutions.
If you clear the cache and still see stale content, check if the site uses a service worker or offline storage, which may need separate clearing. Additionally, some sites may be cached by your network or ISP, so clearing your local cache might not be enough.
How Clearing Cache Compares Across Browsers
Firefox's approach is similar to other browsers. In Chrome, you clear cache via Settings > Privacy and security > Clear browsing data, and you can choose "Cached images and files." In Edge, it's under Settings > Privacy, search, and services > Clear browsing data. Safari uses Develop > Empty Caches (after enabling the Develop menu) or Safari > Clear History. Firefox's Clear Recent History dialog is comparable to Chrome's Clear Browsing Data, but Firefox separates cookies and cache more explicitly in its settings. Unlike some browsers, Firefox does not have a dedicated "Clear cache" button on the main settings page; you use the Clear Data dialog or the history dialog.
Frequently Asked Questions
Does clearing the cache delete my passwords?
No. Saved passwords are stored separately in Firefox's password manager and are not affected by clearing the cache. However, if you also clear cookies and site data, you may be signed out of websites, but your saved passwords remain.
Will clearing the cache speed up my browser?
Not necessarily. Clearing the cache removes stored files, so the next time you visit a site, Firefox must download everything again, which can temporarily slow down loading. Over time, the cache rebuilds and performance returns to normal. Clearing the cache is not a general speed optimization.
How often should I clear my cache?
There is no fixed schedule. Firefox manages the cache automatically, so most users never need to clear it manually. Clear it only when you encounter loading problems, see outdated content, or need to free up disk space.
Does clearing the cache remove my bookmarks?
No. Bookmarks are stored in a separate database and are not deleted when you clear the cache. The same applies to your browsing history and downloaded files.
Can I clear the cache for just one website?
Yes. While on the site, click the padlock icon in the address bar and choose "Clear cookies and site data." This removes cached files and cookies for that site only. Be aware that you may be signed out.
Is it safe to clear the cache?
Yes, it is safe. Clearing the cache does not harm your computer or Firefox installation. It only removes temporary files that will be re-downloaded as needed. Your personal data, settings, and extensions remain intact.