Results 1 to 4 of 4

Thread: How to limit the cache in Firefox

  1. #1
    Join Date
    Dec 2005
    Posts
    134

    How to limit the cache in Firefox

    I am trying to limit the cache in Firefox because I need to reload many pages very often. I add "browser.cache.memory.capacity" with a value of 500MB with the command "about: config" but nothing happened, the memory still fills beyond this limit for firefox ..... Please help me, thank you
    "The answer is out there, and it's looking for you, and it will find you if you want it to."

  2. #2
    Join Date
    Oct 2004
    Posts
    1,343

    Re: How to limit the cache in Firefox

    So your value is incorrect and absurd. It is the memory cache for images. So if you want to reduce the memory size of your Firefox, start by lowering this value to 4096 (that is, in kilobytes, it is therefore 4MB).

    And I speak well of "Browser.cache.memory.capacity.

    Then if it does not resolve your concern, disable your extensions, and the reactive it one by one.

    If despite, your concern still persists, then delete your Firefox %HOMEPATH%/Local Settings/Application Data/Mozilla/Firefox/Profiles (having taken care to save it before).

  3. #3
    Join Date
    Dec 2007
    Posts
    1,602

    Re: How to limit the cache in Firefox

    To fix your cache to a certain value:
    *browser.cache.memory.enable and browser.cache.disk.enable needs to be True for this to work
    1. Start up Firefox
    2. Type about:config in the address bar and hit Enter
    3. Search for browser.cache.memory.capacity and set a number in KB to use for the memory cache (ie. 1024KB = 1MB).
    4. Search for browser.cache.disk.capacity and set a number in KB to use for the disk cache (ie. 1024KB = 1MB).

    To Disable the cache Totally
    Set both browser.cache.memory.capacity and browser.cache.disk.capacity to 0.
    Alternatively, you can also set browser.cache.disk.enable and browser.cache.memory.enable to False.

  4. #4
    Join Date
    Dec 2007
    Posts
    1,742

    Re: How to limit the cache in Firefox

    I think that this entry in prefs.js is what you want: user_pref("browser.cache.disk.capacity"

    Mozilla doesn't use the Registry for much. The settings are based on the old text-based Netscape settings. In the App. Data profile folder is a file prefs.js which holds the current settings. There can also be an optional user.js. If user.js is present, any settings in there will override the settings if prefs.js. (But you shouldn't need to be concerned about that for cache size.)

Similar Threads

  1. Cache changes in Firefox aurora
    By PaaJi in forum Technology & Internet
    Replies: 6
    Last Post: 30-11-2011, 05:23 PM
  2. Firefox 4 beta : no cache
    By Mart-ina in forum Technology & Internet
    Replies: 4
    Last Post: 19-04-2011, 04:58 PM
  3. Firefox image cache
    By appueye in forum Technology & Internet
    Replies: 3
    Last Post: 24-06-2009, 11:31 PM
  4. How to search Firefox cache
    By Anikait in forum Technology & Internet
    Replies: 3
    Last Post: 23-05-2009, 01:08 PM
  5. What limit should be set for Temporary Internet cache
    By Santanio in forum Technology & Internet
    Replies: 3
    Last Post: 30-01-2009, 10:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •