TechBuzzPro

Where is Firefox Cache Stored? Find It on Windows, Mac & Linux

· 4 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The Firefox internet cache is stored in a hidden folder within your user profile directory. On Windows, it is typically located at %APPDATA%\Mozilla\Firefox\Profiles\, while macOS uses ~/Library/Caches/Firefox/ and Linux uses ~/.cache/mozilla/firefox/. The cache consists of small files that store images, scripts, and other web resources to speed up page loading times.

What You'll Need

  • A computer running Windows, macOS, or Linux with Firefox installed.
  • Basic familiarity with navigating file explorer or terminal commands.
  • Administrative privileges may be required to access certain system folders.

Step-by-Step

  1. Locate Your Profile Folder (Windows): Press the Win + R keys to open the Run dialog. Type %APPDATA%\Mozilla\Firefox\Profiles\ and press Enter. This opens the folder containing all your Firefox profiles. Look for a folder with a random name ending in .default-release (or similar). This is your active profile folder.
  2. Navigate to the Cache Directory (Windows): Inside your profile folder, look for a subfolder named cache2. Open it. You will see another folder named entries. The actual cache files are stored here as binary blobs without standard extensions.
  3. Find the Cache Folder (macOS): Open Finder. Click on the Go menu in the top bar, then select Computer. Navigate to Macintosh HD > Users > [YourUsername] > Library > Caches > Firefox. Inside, you will find a folder named after your profile ID. Open it to see the cache data.
  4. Access the Cache via Terminal (Linux): Open your terminal application. Type cd ~/.cache/mozilla/firefox/ and press Enter. List the contents with ls -la. Identify your profile folder (usually ends in .default). Enter that folder and look for the cache2 directory. The cached files are inside the entries subfolder.
  5. View Cache Contents: Note that cache files are not directly readable as images or HTML. They are stored in a binary format optimized for quick retrieval by Firefox. To view them, you must use Firefox's built-in tools rather than opening them in external software.
  6. Use Firefox's Built-in Cache Viewer: Open Firefox. In the address bar, type about:cache and press Enter. This page displays detailed information about the current cache usage, including disk and memory storage locations. It allows you to list device entries, though it does not provide a direct "download" button for individual cached items.
  7. Clean the Cache if Necessary: If you need to clear the cache to free up space or troubleshoot issues, go to Settings > Privacy & Security > Cookies and Site Data. Click Clear Data..., ensure Cached Web Content is checked, and click Clear. This safely removes the files from the directories mentioned above.

Common Mistakes

One frequent error is attempting to manually delete files from the cache2/entries folder while Firefox is running. This can corrupt the cache database and cause performance issues or crashes. Always close Firefox completely before manually deleting any cache files. Another mistake is confusing the cache2 folder with the webappsstore folder; the latter stores local storage data for websites, which is different from the HTTP cache.

Tips

If you are trying to recover a specific image or resource, consider using browser developer tools instead of digging into the file system. Press F12 to open DevTools, go to the Network tab, reload the page, and right-click on the desired resource to save it. Additionally, enabling Private Browsing prevents Firefox from storing cache files on your disk entirely, offering privacy at the cost of slightly slower subsequent visits to sites.

Troubleshooting

If you cannot find the cache folder, ensure that Firefox is not running in the background. Sometimes, processes linger even after closing the window. Check your task manager or activity monitor to confirm Firefox is fully closed. If the about:cache page shows zero usage but you suspect caching is happening, try clearing the cache via settings and then visiting a media-heavy site to force new cache creation. If the cache folder appears empty despite heavy browsing, check your Firefox settings to ensure caching is not disabled under Privacy & Security > Enhanced Tracking Protection.

Frequently Asked Questions

Can I view cached images directly from the folder?

No. Firefox stores cache files in a proprietary binary format. You cannot simply double-click them to view images. Use the Network tab in Developer Tools to save resources instead.

Does clearing the cache delete my bookmarks?

No. Clearing the cache only removes temporary web content like images and scripts. Your bookmarks, passwords, and history remain intact unless you explicitly choose to clear those separately.

How much space does the Firefox cache take?

Firefox automatically manages cache size. It typically grows until it reaches a limit (often around 500MB to 1GB depending on settings and disk space), then it begins deleting older entries to make room for new ones.

Is the cache location different for Portable Firefox?

Yes. If you use Firefox Portable, the cache is stored inside the portable installation folder under data\profile\cache2, rather than in your system's user profile directory.

Why are there so many files in the cache folder?

Each cached resource (images, CSS, JS) is stored as a separate file. Modern websites load dozens of resources per page, leading to thousands of small files in the entries folder.