Monday, June 22, 2015

Set Firefox to memory cache instead of disk

There are several uses of doing this, firstly disk cache means lots of small small files writing/reading to HDD all time. This makes HDD to work all time and also constant head movement causes wear and tear, fragment etc. If SSD used it also reduces its life as in SSD no of write cycles is limited. Moving to memory cache only means RAM is used for cache purposes which is super fast and no problem of writes/reads as its fully made for that purpose.

1. Open up about:config (type it into the url bar)
2. Type browser.cache into the filter bar at the top.
3. Find browser.cache.disk.enable and set it to false (by double clicking on it).
4. Set browser.cache.memory.enable to true
5. Create a new preference by right clicking anywhere, hit New, and choose Integer.
6. Call the new preference browser.cache.memory.capacity and hit OK.
7. In the next window, where it asks for the number of kilobytes you want to assign to the cache, just enter -1 to tell Firefox to dynamically determine the cache size.

Downside is when browser is closed all cache contents lost so need to load the pages again bu if the internet is unlimited its always better to memory cache to reduce activity of HDD/SSD

No comments:

Post a Comment