How To Reduce the Load Time of Previously Visited Web Pages in Mozilla Firefox

Browser Cache Memory plays a major role in reducing the load time of previously visited web pages. The more is the memory cache of the browser, the faster will be the retrieval of the previously loaded web pages.

Basically, Memory cache is just like a separate reserved section of memory to keep the data that is retrieved often for faster access in the future. This Memory caching is most effective in web browsers because most users access the same web pages over and over. So, by caching as much of this information as possible that include decoded images, application user interface elements and secure (https) pages in a faster accessible location like ‘Browser Cache Memory’, the browser need not rerender them to be re-displayed.

In Mozilla Firefox, the two about:config preferences that mainly control the Browser Cache Memory are

  1. browser.cache.memory.enable
  2. Controls whether to use memory to cache or not

  3. browser.cache.memory.capacity
  4. This preference controls the maximum amount of memory to be used for caching.

First of all let’s modify the Firefox preference settings to enable memory caching and then set the maximum memory to use for caching.

Enable Memory Caching in Firefox

1. Open Firefox and in the location bar(also known as the Address Bar, URL Bar or Awesome Bar) type about:config and press Go(->)

Firefox about:config preference settings address typed in the address bar
Type about:config in the address bar

This shows a warning message alerting users to be careful while changing these advanced settings. Click I’ll be careful, I promise! to bring up the about:config preferences list.

this-might-void-your-warranty-Firefox-advanced-settings-warning-message
‘be careful changing these advanced setting’ warning message

2. Find the Preference named browser.cache.memory.enable from the list. Its better to take the help of the filter field at the top. Just type in browser.cache.memory.enable in that Filter field to directly displays that Preference for you.

firefox-browser-cache-memory-enable-preference-setting-find-it-easily-using-filter-field
Preference Name: browser.cache.memory.enable

By default the value of this preference is set to ‘true’, but if its set to ‘false’ in your browser just double-click with your mouse on it to toggle the value to ‘true’.

Set the Maximum amount of memory to use for caching

The preference named browser.cache.memory.capacity which controls this setting does not exist by default, so lets create it now!

1. Right click with your mouse in the empty space and choose New > Integer

create-new-integer-value-in-Firefox-about:config-preferences
create New > Integer Value

2. In the New integer value box that shows up, Enter the preference name as browser.cache.memory.capacity and press OK

How To Reduce the Load Time of Previously Visited Web Pages in Mozilla Firefox 1
Enter the preference name as browser.cache.memory.capacity

3. Now, it prompts you to Enter integer value of browser.cache.memory.capacity preference

enter-integer-value-of-browser-cache-memory-capacity-preference-name-in-Mozilla-Firefox
Enter Integer Value

The integer value you enter represents the maximum amount of memory in KB to use for caching. This value should be decided based on the total amount of RAM available. The default values to enter are as follow:

Available Physical RAM Memory Cache (in KB)
128 MB 6144
256 MB 10240
512 MB 14336
1 GB 18432
2 GB 24576
4 GB 30720
8 GB and more 32768

If you have no problem with Firefox’s memory consumption then you can raise the integer value to use more memory for caching which reduce the load time even more.

Now Exit Firefox and restart for the change to take effect.

That’s it!! From Now on wards you will notice a dramatic reduction in the load time of previously visited pages and dialogs in Firefox.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top