Browser.cache.memory.capacity Verified Jun 2026
When you navigate between websites, Firefox loads assets into your RAM so that hitting the "Back" button or revisiting a page happens instantly. The browser.cache.memory.capacity preference determines the upper limit of this in-memory cache.
This is distinctly different from disk caching. While disk cache saves data to your hard drive or SSD, memory cache stores data in RAM—which is orders of magnitude faster to access. The result? Pages load nearly instantaneously when you navigate back to them, images appear without delay, and the entire browsing experience feels snappier.
Massive amounts of web content stay pre-loaded in your ultra-fast RAM, resulting in near-instantaneous page rendering. Related Cache Settings to Consider
If you have 32 GB or 64 GB of RAM, you likely have gigabytes of memory sitting idle. By manually increasing this cache limit, you allow the browser to keep thousands of web elements stored in your ultra-fast RAM. This results in near-instantaneous page navigation and smoother switching between dozens of open tabs. How to Access and Modify the Setting Browser.cache.memory.capacity
A: This preference is primarily intended for desktop versions of Firefox. Mobile versions use different memory management strategies.
Major Firefox updates occasionally revert advanced about:config preferences to their factory defaults. If you notice performance dropping after an update, repeat the step-by-step guide to verify your custom integer is still active.
In simple terms, browser.cache.memory.capacity sets the in your RAM. When you visit a webpage, Firefox downloads images, scripts, stylesheets, and other elements. Rather than decoding and processing these elements from scratch each time you revisit a page, Firefox stores the already-decoded versions in memory for instant access. When you navigate between websites, Firefox loads assets
To verify your current cache usage, you can also visit . This page shows you storage information for both the memory and disk caches, including the maximum storage size and current usage.
I can give you a personalized recommendation for your exact hardware configuration. Share public link
Increasing this value can speed up page navigation (especially the Back/Forward buttons) by keeping recently visited pages in RAM instead of reloading them from the slower disk or the internet. How to Configure It While disk cache saves data to your hard
When navigating the web, a browser downloads hundreds of assets per page, including HTML structures, CSS style sheets, JavaScript packages, and media files. To avoid re-downloading these identical assets upon clicking a link or hitting the back button, Firefox handles them using a tiered caching strategy:
The browser.cache.memory.capacity preference accepts three types of values, each with distinct effects: