Firefox SSD Tweaks: Use Memory Cache Instead of Disk Cache

To increase the longevity of your SSD you want to reduce your disk writes. One way to achieve that is to use a memory cache instead of a disk cache (it will then store the cache in your RAM rather than on a disk, which is also a lot faster).

Use memory cache instead of disk cache

This also becomes highly relevant when you want to speed up your server, because a disk cache will always be slower than a memory cache.

I am going to explain here to use the memory cache in Firefox. Similar tutorials will follow for Chrome and IE9, possibly Opera.

1. Step Open Firefox
2. Step Enter about:config into the address bar where you normally enter addresses into – this is the ultimate config panel in Firefox
3. Step Enter browser.cache.disk.enable into the Filter
4. Step As you can see the value is by default set to true
5. Step Double-click on the entry to set it to false
6. Step Right-click into the white area and click on New Integer

Firefox Configuration: New Integer

7. Step Enter disk.cache.memory.capacity and hit enter
8. Step You are now supposed to enter an integer. This integer will be the amount of RAM in KB. So, enter the amount of RAM in KB that you want to dedicate to the memory cache, e.g. 131072 for 128MB RAM

For a detailed explanation of what the setting disk.cache.memory.capacity will do click here. In short, it caches website images in your RAM.

5 of 5 0 (100%) 1 vote
- Cheers!

Written by:
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common errors and help others to fix them. Aside from that, he loves to fully customize systems with Rainmeter and Dreamscene, find out more about ancient civilizations like the Chachapoya, sharpen his digital photography skills and create software with a small group of selected developers. If you would like to connect with him to discuss anything, send him a mail!

Learn More About.Me

Follow me on Twitter for daily updates:

Contact The Author:

Get Free Help

Connect With Our Site:



Need help? Ask a question at our QA site, click the red button to get started:
Want to support us? Great, simply buy your favorite games from G2A via our referral link ( and save money at the same time:

4 Responses to Firefox SSD Tweaks: Use Memory Cache Instead of Disk Cache

  1. Orange Community Approved Comment:
    Medyo said:

    This is not an ideal change if you are a video streaming person because then the videos you watch on-line will be cached on your RAM and will immediately get full. A single high-quality video alone would consume almost 1GB of your RAM.

  2. Orange Community Approved Comment:
    Jeff said:

    What if you have 12GB of RAM and you’re alright with entire videos being cached in your RAM? would a value of 1048576 or even double that be completely ludicrous or am I finally going to rid myself of buffer problems when streaming videos from Netflix and the like?

    PS – Great site, I just discovered it today, I don’t even remember how I got here, but I’m glad I made it. Keep up the great work! And Thank You for doing so

  3. Orange Community Approved Comment:
    h2 said:

    This is mod is no longer needed. The latest version of Firefox now automatically allocates the amount of ram used based on memory available. If you have a ton of ram (4GB or more), Firefox will use as much of that memory as it can.

  4. Orange Community Approved Comment:
    f said:

    Shouldn’t that be ‘browser.cache.memory.capacity’???

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current day month ye@r *