Browser.cache.memory.capacity Jun 2026

In simple terms, browser.cache.memory.capacity is the master control knob for the in Firefox. This setting determines, in kilobytes (KB), the maximum amount of your computer's RAM (Random Access Memory) that Firefox is allowed to use for storing cached web content.

| Value | Meaning | |-------|---------| | -1 | Firefox automatically manages the cache. | | 0 | Disabled. No memory caching. Drastically slows down session navigation. | | 65536 (64 MB) | Conservative fixed limit. | | 131072 (128 MB) | Moderate fixed limit. | | 262144 (256 MB) | High fixed limit (rarely needed). |

Increase the capacity to store more assets in RAM, reducing reliance on the slower disk cache.

"I can't!" cried a frantic junior process named DocShell . "The User has 'Pin Tab' active on the shopping site! And the art gallery... it’s pre-caching the next fifty images! They’re marked 'High Priority'!" Browser.cache.memory.capacity

On Linux distributions with limited RAM, you might want to completely bypass memory caching to free RAM for the kernel's filesystem cache. Set to 0 or 8192 (8 MB).

(system memory) the browser can use to store cached web content for rapid retrieval. mozillaZine Key Functions

You are testing a progressive web app (PWA) or a single-page application (SPA). You need to ensure that a specific JavaScript file is always re-fetched from the network, not from a stale memory cache. In simple terms, browser

Now that you understand what browser.cache.memory.capacity really does, you can decide for yourself whether a tweak is right for your Firefox. Happy browsing!

in the configuration) that automatically scales the cache size based on the total physical RAM available on the device. Manual Configuration and Use Cases Users often venture into about:config to manually override this value for two primary reasons: Memory Constraints:

: You can see how much memory is currently being used by the cache by typing about:cache into the address bar. Disk vs. Memory Cache browser.cache.memory.capacity handles RAM, browser.cache.disk.capacity controls how much space is used on your hard drive/SSD. Individual Entry Limits : The preference browser.cache.memory.max_entry_size | | 0 | Disabled

Remember the golden rule: . Monitor your system`s memory usage, pay attention to how Firefox feels during your typical browsing sessions, and adjust accordingly. The perfect cache size is unique to your hardware, your browsing habits, and your performance expectations.

: Double-click the preference to change its value. Deciphering the Values: What Numbers Should You Use?

Capacity looked at the incoming stream. It was a flood of high-resolution hex codes. The Browser.cache.memory.capacity was set to a conservative default: -1 (automatic). Usually, this allowed him to be flexible, to borrow from the system as needed. But the Operating System was stingy tonight, starving the process. The cache was bloating. They were hitting the ceiling.