Browser.cache.memory.capacity

From MozillaZine Knowledge Base
Revision as of 21:57, 27 December 2005 by Unarmed (talk | contribs) (→‎Related bugs: added bug 296538)
Jump to navigationJump to search

Background

When a page is loaded, it is cached so it doesn't need to be downloaded to be redisplayed. This preference controls the maximum amount of memory to use for caching purposes.

Possible values and their effects

-1

Automatically decide the maximum memory to use for cache based on the total amount of RAM. (Default in all but Thunderbird and Minimo)

RAM Cache
32MB 2MB
64MB 4MB
128MB 8MB
256MB 14MB
512MB 22MB
1GB 32MB
2GB 44MB
4GB 58MB

0

Do not cache files in memory.

Any positive integer

Maximum amount of memory in KB to use for cache. (Thunderbird default: 4096. Minimo default: 256)

Caveats

  • browser.cache.memory.enable must be true for this preference to take effect.
  • Lowering this value causes less memory to be used but also causes more previously visited pages to have to be loaded from disk cache or be redownloaded, thus increasing their load time. Raising it has the opposite effect.

Recommended settings

Users who are having problems with memory consumption can try setting the value to something lower than specified in the table above to lower memory consumption. Users who have no problems with memory should leave it at -1.

First checked in

2001-06-27 by Darin Fisher

Has an effect in

  • Netscape (all versions since 6.1)
  • Mozilla Suite (all versions since 0.9.1)
  • Phoenix (all versions)
  • Firebird (all versions)
  • Firefox (all versions)
  • Thunderbird (all versions)
  • Minimo (all versions)
  • Seamonkey (all versions)

Related bugs

Related preferences