I wanted to reduce disk access, and I thought I'd have to use a RAMdisk for the browser cache, but with some googling I discovered that you can set Firefox to use RAM only for caching.
Sources: http://forums.mozillazine.org/viewtopic.php?f=8&t=1088725 http://kb.mozillazine.org/Browser.cache.memory.capacity
Here are the steps:
Type about:config into URL box in Firefox.
Search for browser.cache.disk.enable and set value to False.
Search for browser.cache.memory.enable and set value to True.
Search for browser.cache.memory.capacity
It probably doesn't exist
Right click in browser window and select New -> String.
Call it browser.cache.memory.capacity
Set value to desired cache size in kilobytes. For example, 128MB * 1024 = 13107
-
-
That's good if you never turn your computer off, but defeats the purpose of the cache if you do.
-
Good point. Although the cache in RAM is useful because you're usually loading stuff multiple times in the same session.
-
davepermen Notebook Nobel Laureate
firefox uses the ram cache anyways, but the disc cache for inbetween sessions, too. browsing gets much slower by disabling the disk cache.
could be useful for steadystate setups. but i guess, most don't know what that is -
Thanks for the tip -
try setting your cache to a ramdisk built on a usb flash drive.
much will depend on the read/write performance of the flash drive (cheap/slow ones will NOT do well) but it might be a good middle ground. -
-
Set Firefox to cache to RAM instead of HDD
Discussion in 'Windows OS and Software' started by winkosmosis, Jan 21, 2010.