Browser.sessionhistory.max total viewers
Pages that were recently visited are stored in memory in such a way that they don't have to be re-parsed (this is different from the memory cache). This improves performance when pressing Back and Forward.
This preference limits the maximum number of pages stored in memory.
Possible values and their effects
Automatically determine the maximum amount of pages to store in memory based on the total amount of RAM (Default)
Do not store any pages in memory.
Any positive integer
Maximum number of pages to store in memory.
- Lowering this value causes less memory to be used but also causes more previously visited pages to have to be re-parsed (thus increasing their load time). Raising it has the opposite effect. One page will on average take 4MB of memory.
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
Has an effect in
- Firefox (all versions since 1.5b2)
- SeaMonkey (all versions)
- Bug 274784 - Make back and forward blazingly fast and side-effect free
- Bug 292965 - Improve eviction algorithm for fastback/bfcache
See Using Firefox 1.5 caching for developer details on this feature.