How to clear the Firefox cache

Revision Information
  • Revision id: 282108
  • Created:
  • Creator: AliceWyman
  • Comment: Image:Fx128ClearBrowsingDataAndCookiesDialog-Cache (replacing image with double spaces in the title, to prevent future problems)
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: AliceWyman
  • Is approved? Yes
  • Is current revision? No
  • Ready for localization: Yes
  • Readied for localization:
  • Readied for localization by: AliceWyman
Revision Source
Revision Content

The Firefox cache temporarily stores images, scripts, and other parts of websites you visit in order to speed up your browsing experience. This article describes how to clear the cache.

Clear the cache

  1. In the Menu bar at the top of the screen, click Firefox and select Settings (select Preferences on older macOS versions).Click the menu button Fx89menuButton and select Settings.
  2. Select the Privacy & Security panel.
  3. In the Cookies and Site Data section, click Clear Data….
  4. The Clear data dialog will open On the dropdown next to When:, choose Everything.
  5. Make sure that only the Cached web contentTemporary cached files and pages section in checked.
    Fx91CookiesAndSiteData-ClearCacheClear temporary cached files
  6. Click the Clear button.
  7. Close the Settings page. Any changes you've made will automatically be saved.
Tip: Here's another way to clear the Firefox cache:
  1. Click the menu button Fx89menuButton to open the menu panel.
  2. Click History and select Clear Recent History….
  3. Next to Time range to clearWhen:, choose Everything from the drop-down menu, select Cache in the items list, make sure other items you want to keep are not selected and then click the Clear NowClear button.
See this article for details.

Automatically clear the cache

You can set Firefox to automatically clear the cache when Firefox closes:

  1. In the Menu bar at the top of the screen, click Firefox and select Settings (select Preferences on older macOS versions).Click the menu button Fx89menuButton and select Settings.
  2. Select the Privacy & Security panel and go to the History section.
  3. In the drop-down menu next to Firefox will, choose Use custom settings for history.
    Fx100Custom-ClearHistoryWhenFirefoxCloses
  4. Select the check box for Clear history when Firefox closes.
  5. Click the Settings… button. The Settings for Clearing HistoryClear browsing data and cookies window will open.
  6. Put a check mark next to CacheTemporary cached files and pages and make sure other items you want to keep are not selected.
    Fx100SettingsForClearingHistory-CacheFx128ClearBrowsingDataAndCookiesDialog-Cache
  7. Click OKSave Changes to close the Settings for Clearing HistoryClear browsing data and cookies window.
  8. Close the Settings page. Any changes you've made will automatically be saved.