A few words of thanks would be greatly appreciated.

Set the Maximum Cache Size in Firefox

We have already learned how to change the location of the temporary files folder of Firefox. This time we will see how to configure the size of the cache to our liking. A larger cache implies that a larger amount of offline data can be stored, which will help Firefox to load certain webpages more rapidly!

Note:If your PC is equipped with a SSD, it is not advisable to increase this value!

How to Set the Maximum Cache Size

  • The default value of Firefox's cache is 50 MB.
  • The minimum value is 0.
  • The maximum value is 1024 MB.

To change the size of the cache, there are two possible methods.

Method 1

  • Open Firefox.
  • Click on the Menu button > Options.

Click the "Advanced" > "Network" tab.

  • Tick the Override automatic cache management checkbox.
  • Edit the value for Limit cache to [] MB of space (between 50Mb and a maximum of 1024MB).


  • Click on Ok to validate and restart Firefox.

Method 2

  • Open Firefox
  • Type about:config in the address bar and press Enter.
  • Firefox will display a security warning, click on I'll be careful, I promise!
  • Search for the browser.cache.disk.capacity preference, which determines the maximum cache size.
  • Double-click to edit (Integer value)
  • Increment the value to your convenience (default value 50000, which represent 50 MB)

Learn more: http://kb.mozillazine.org/Browser.cache.disk.capacity
Photo: 123rf.com


A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Set the Maximum Cache Size in Firefox », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).