Firefox Clear Cache Shortcut: Quick Removal
The Firefox clear cache shortcut is Ctrl+Shift+Delete on Windows and Linux, and Cmd+Shift+Delete on macOS. Pressing this combination opens the “Clear Recent History” dialog, where you can instantly delete cached web content.
What is the Firefox Clear Cache Shortcut?
In Firefox, the cache stores images, scripts, and other data so that websites load faster on subsequent visits. The shortcut mentioned above brings up a dialog that lets you choose which time range and which types of data to purge. It is a single keystroke combination that saves time compared to navigating through menus.
How the Cache Works in Firefox
When you visit a site, Firefox downloads files such as HTML, CSS, JavaScript, and media. These files are written to a local cache directory. On future visits, Firefox first checks the cache; if the file is still valid, it serves it from disk instead of re‑downloading. This reduces bandwidth usage and speeds up page rendering.
Cache entries are stored in profile/cache2 and are managed by the browser’s caching engine. Over time, the cache can grow large, especially when browsing media‑heavy sites or when using developer tools that request many resources. A bloated cache may slow down Firefox or consume significant disk space.
Using the Shortcut on Different Platforms
Firefox’s shortcut is consistent across operating systems, but the modifier key changes:
- Windows or Linux: Ctrl+Shift+Delete
- macOS: ⌘+Shift+Delete
After pressing the keys, a dialog appears. The default time range is “Last Hour”, but you can select “Everything” to clear the entire cache. The dialog also lists checkboxes for “Browsing & Download History”, “Cookies”, “Cache”, “Form & Search History”, and more. Tick only the ones you wish to delete.
Step‑by‑Step Guide to Clearing Cache Quickly
- Open Firefox and navigate to any page.
- Press the platform‑specific shortcut (Ctrl+Shift+Delete or ⌘+Shift+Delete).
- The “Clear Recent History” dialog pops up. Set the Time range to clear to the desired period. For a full purge, choose Everything.
- Under Details, check the Cache box. You may also uncheck other items to avoid deleting cookies or history.
- Click Clear Now. Firefox will erase the selected cache files and close the dialog.
- Optional: Restart Firefox to ensure all cached processes are fully refreshed.
When you use the shortcut, the cache is cleared immediately without any confirmation prompts, which is ideal for developers who need a clean slate between tests.
Common Problems and How to Fix Them
Some users encounter issues such as:
- Cache not fully cleared: Firefox may keep a small set of “persistent” cache entries that survive the clear operation. These are usually locked by background processes. Restarting Firefox or rebooting the system often resolves this.
- Performance slowdown after clearing: After a large purge, Firefox may rebuild the cache slowly as it re‑downloads resources. This is normal; the slowdown usually subsides after a few browsing sessions.
- “Clear Recent History” dialog missing: If the dialog does not appear, the shortcut may have been overridden by an extension or custom key binding. Check
about:configfor thebrowser.ctrlTab.previewssetting or reset the shortcut in theTools > Options > General > Keyboard Shortcutspanel.
Alternatives and Extensions for Cache Management
While the built‑in shortcut is powerful, other methods may suit specific workflows:
- Firefox Menu:
Menu > Settings > Privacy & Security > Cookies and Site Data > Clear Data…. This opens a dialog that lets you delete cached content and cookies separately. - Developer Tools: Press
Ctrl+Shift+I(or ⌘+Opt+I on macOS) to open the Inspector, then click the network panel’s “Disable Cache” button. This temporarily stops the browser from using cached files while the dev tools are open. - Extensions: The Clear Cache add‑on adds a toolbar button that clears cache with a single click. It also offers scheduled cache clearing, which can be handy for users who browse heavily in private mode.
- Command‑line: On Linux, you can delete the cache directory directly with
rm -rf ~/.mozilla/firefox/*/cache2. Use caution and ensure Firefox is closed before running this command.
Frequently Asked Questions
Can I clear only the cache without affecting history?
Yes. In the “Clear Recent History” dialog, uncheck all boxes except Cache. This removes only cached files while preserving browsing history and cookies.
Will clearing the cache delete my saved passwords?
No. Passwords are stored in the Firefox logins database, not the cache. Clearing the cache does not affect stored credentials.
Is there a way to automatically clear the cache on startup?
Firefox does not provide a built‑in startup cache clear. However, the Clear Cache extension can be configured to run a clear operation when Firefox starts.
Why does my cache keep growing after I clear it?
Firefox rebuilds the cache as you browse. Sites that request many resources will refill the cache quickly. If you want to keep the cache small, consider using a third‑party cache‑limiting extension or manually clearing it after heavy browsing sessions.
Does clearing the cache affect my bookmarks?
No. Bookmarks are stored separately in the places.sqlite file and are not part of the cache.