You might have heard about the legend of the RAM disk that could make any Mac faster just by assigning it to handle the cache of internet browsers or even run games from it. Well, it might have made quite a difference for little games that you would run on a OS 9 based Mac that had very little memory.

Nowadays though, when talking about computers that have over 2 GB of RAM each, a RAM disk might not be the thing that you were expecting a few years ago. You can move your Safari’s cache folder to a RAM disk but this will not actually make such a big difference mainly because of the shear speed that today’s computers are capable of.

Pros and cons

But what is a RAM disk after all? It is not a physical drive but a part of your system RAM memory that functions like a disk drive, with a very important advantage: faster access times compared to your hard drive.

Despite this, I’ve already said above, a RAM disk is not the Holy Grail of file storage and there are things that make it the number one public enemy to a lot of people. One of such things, and the most important by far, is that everything – by everything I mean every 0 and 1 – that existed on it before restarting the computer will be unavailable the next time you enter your OS.

Where does it go? Into thin air, to binary heaven or wherever RAM stored data ends up. The main idea is that the data stored in the RAM disk will be gone forever and nothing will bring it back. Nothing except for a group of determined Princeton scientists that are ready to freeze up your RAM memory and toy with it sucking up your 0s and 1s and doing whatever they want with it (but why would a Princeton researcher want to mess with your RAM anyway?).

Using a RAM Disk

The thing that you could do to benefit from the boost of write/read speed that a RAM disk is capable of is to batch process large quantities of files, edit large image files with image editing applications like Photoshop or even when having to work with huge spreadsheet files that contain vast amounts of data.

Using a RAM disk in such cases will automatically prove to be good to your workflow because of the very quick saving times and the enhanced access speeds to the data contained in the file(s) you are working with.

Another use for a RAM disk, besides super speedy saves, would be to ensure that your browser’s cache files will not get inside wrong ends compromising your security. The browser that I’ll take as an example in this article is Firefox and I’ll show you how to move its cache to the RAM disk so that everything will instantly vanish the moment you restart your Mac.

If you think that this can also be achieved by simply telling Firefox to clean up its cache, history and everything else on its Security tab, you’re actually wrong because the data recovery apps out there will disagree: everything that ends up on your hard drive and it’s not overwritten can be recovered. And where is the security in that?

And yeah, I know that Firefox running on a Mac is seen as blasphemy by some of you but I like my Firefox add-ons and there’s no chance Safari will support those in the near future, therefore Firefox it is.

Let’s go on with our cache. First, you will have to create a RAM disk (I’ll explain the actual way to create the RAM disk towards the end so bear with me and learn how to use it in the meantime) – let’s call it TEST for now – and then open Firefox. On the address bar enter “about:config” (without the quotes) and in the Filter bar write down “browser.cache.disk.parent_directory”. If nothing appears below, don’t worry and just right click somewhere on the white space and select “New->String” from the menu that will appear.

Read Full News