An analysis of local caches that Firefox uses

Martin Brinkmann
Dec 11, 2015

Back in the early days of the Internet, there was just a single cache for HTML files and static elements such as images but with the rise of HTML5 and modern web applications came new cache formats that modern web browsers use.

While it may make sense to use different locations for the cache from a developer point of view, it makes things difficult for privacy-conscious and technology-interested users who want to keep an eye on cache content and size.

Please check out our guide on clearing the main browser cache as it lists the main Firefox cache directory on the local system among other things.

This guide looks at new cache locations exclusively.

Firefox Cache Information

The Offline cache

Introduced in 2007, it has been designed to store elements tagged with rel="offline-resource" in the offline cache.

The main idea is to provide offline browsing capabilities to devices, to improve the performance of important resources, and to reduce server load. The offline cache can be used by HTML5 applications

Developers can use the Application Cache (AppCache) interface to specify resources that the browser should cache and make available to offline users. Applications that are cached load and work correctly even if users click the refresh button when they are offline.


  • Windows Vista and newer: C:\Users\<username>\AppData\Local\Mozilla\Firefox\Profiles\<salt>.<profile name>\indexedDB
  • Mac/Linux: /Users/<username>/Library/Caches/Firefox/Profiles/<salt>.<profile name>/indexedDB
  • Preference: dom.indexedDB.enabled
  • Values: True (enabled) or False (disabled)
  • Additional information:

IndexedDB is a browser technology that can hold large amounts of structured data and supports high-performance searches using indexes. It is available offline, online and from within HTML5 Web Workers.

IndexedDB is a transactional database system, like a SQL-based RDBMS; however whereas the latter uses tables with fixed columns, IndexedDB is a JavaScript-based object-oriented database. IndexedDB lets you store and retrieve objects that are indexed with a key; any objects supported by the structured clone algorithm can be stored

To view IndexedDB content, use an add-on like SQLite Manager for Firefox.

Dom Storage

  • Windows Vista and newer: C:\Users\<username>\AppData\Local\Mozilla\Firefox\Profiles\<salt>.<profile name>\webappsstore.sqlite
  • Mac/Linux: /Users/<username>/Library/Caches/Firefox/Profiles/<salt>.<profile name>/webappsstore.sqlite
  • Preference:
  • Values: True (enabled) or False (disabled)
  • Additional information:

This enables client-side session and persistent storage in Firefox. It is used to store (more) data on the local system compared to cookies. Dom Storage is used by supercookies but also by sites who need to save data on the local system.

Firefox users may use the FireStorage extension for the web browser to display the content of HTML5 Local Storage for the active site in the browser.

While it is possible to disable one, some or all of the listed caches, you may run into issues when using web applications that utilize the features.

Now You: Got anything to add or comment on? Let us know below in the comment section.

An analysis of local caches that Firefox uses
Article Name
An analysis of local caches that Firefox uses
A detailed look at local caches that the Firefox web browser uses. The guide includes cache locations, descriptions and preferences to turn the feature off.

Tutorials & Tips

Previous Post: «
Next Post: «


  1. TelV said on December 17, 2021 at 5:51 pm

    Setting “” to false breaks PostNL parcel tracking site.

    Such is life…..

  2. TelV said on December 16, 2021 at 10:14 am

    There’s an “Indexeddb+++fx-devtools” entry in storage/permanent folder on both Waterfox Classic and the latest version of Firefox. Is that the same thing?

    ( had to revert to the default setting in about:config for “dom.indexedDB.enabled” since it causes an InvalidState error on my webmail (Tutanota) if disabled.

  3. Drugoy said on December 14, 2015 at 7:43 pm

    You omitted plugins’ cache files & folders.

  4. Belga said on December 12, 2015 at 6:41 pm

    Are all the infos contained in these caches not removed by CCleaner “improved by CCEnhancer” (at least mostly)?
    I see the options “Firefox HTML storage” and “webappsstore.sqlite” and with a right click, you can analyze these caches and clean them.

  5. Dougle said on December 12, 2015 at 2:22 am

    It’s possible to view and manipulate the contents of local storage via the developer tools. In web console type localStorage;

    Better, add the storage option via the developer tools settings. This provides access to dom, indexed db, session, cookies etc.

  6. jern said on December 12, 2015 at 12:32 am

    I’m running Firefox 42.0 on a Macbook and I see three files in the DOM cache while FF is running.

    The last two files are deleted automatically when FF closes. Webappsstore.sqlite is persistent. If you have a app like Find Any File that can find hidden files on a Mac, webappsstore.sqlite can be trashed normally after FF is closed.

    FF is acting strangely. If I’m offline when I start FF and I “quit,” FF just hangs. I either have to force it to quit or, if it is left to itself, it crashes and I get a lovely message from the Mozilla Crash Reporter. (I’ve submitted a report)

  7. Anonymous said on December 11, 2015 at 6:20 pm

    Is there some way to say “load cached version of page in offline mode”? Maybe an add-on?

  8. point said on December 11, 2015 at 6:08 pm

    Also check
    in which for example facebook’s messages part stores what seems to be some asmjs byte-code thing, that not even restart (with enabled clear all at exit settings) purges (though can be deleted manually).

    1. point said on December 11, 2015 at 6:12 pm

      Edit time passed… the path correctly:
      c:\Users\(username)\AppData\Roaming\Mozilla\Firefox\Profiles\(salt).(profile name)\storage\temporary

      1. Tom Hawack said on December 11, 2015 at 6:40 pm

        The user’s profile storage folder’s content depends of dom.indexedDB.enabled, true or false
        “If set as false (disabled), this WILL break some [old] add-ons and DOES break some sites’ functionality” (Source and thanks to Pants).

        Can be automatically wiped at Firefox exit by setting privacy.clearOnShutdown.offlineApps to true in about:config

  9. ¬¬ said on December 11, 2015 at 5:05 pm

    Thank you Martin very useful!

  10. Tom Hawack said on December 11, 2015 at 4:09 pm

    Here with Firefox I’ve never encountered any issue by setting browser.cache.offline.enable to false

    Concerning dom.indexedDB.enabled, set to true here, I understand it applies to websites, add-ons and session data and is maintained in user’s profile ‘storage’ folder, but I have no indexedDB folder nor file. “If set as false (disabled), this WILL break some [old] add-ons and DOES break some sites’ functionality” (Source and thanks to Pants). is required on some sites (even when they set no data!). A great add-on for dealing with Firefox’s Dom Storage (all in the webappsstore.sqlite file) is called ‘Self-Destructing Cookies’ since it handles Firefox’s Dom Storage as well as cookies (not to mention disk&ram cache as an option), emptying the storage and erasing cookies for sites not labelled as an exception by the user. The ultimate tool IMO for managing cookies as well as the Dom Storage on Firefox.

    Thanks Martin, this article clarifies the caches used by Firefox. I’d focus on Dom Storage as a major privacy concern. If you set it to disabled you may encounter issues on some sites, otherwise, and without the add-on I mention, at least delete the webappsstore.sqlite file once in a while, on every Firefox exit is better. The file is automatically rebuilt.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.