Firefox & tmpfs

Amedee Van Gasse amedee-ubuntu at amedee.be
Wed Jan 12 09:34:27 UTC 2011


On Tue, January 11, 2011 23:37, Chris Jones wrote:

>> The Firefox cache is stored in the browser.cache.disk.parent_directory
>> (see about:cache and about:config)
>> Browsing history, saved tabs, etc are saved in sqlite files in the
>> Firefox
>> profile directory. These don't get wiped.
>
> I was assuming the user would sym link their entire ~/.firefox directory
> to tmpfs, in which case everything would go on a reboot. Of course, if
> they only sym link the cache, then only that is lost.

Moving the Firefox cache to tmpfs is a well known hack for netbook hackers
(at least it's described on the wiki, so that makes it well known). There
is no need to symlink, you only change the value of
browser.cache.disk.parent_directory in about:config so that it points to
your tmpfs mount point.





More information about the ubuntu-users mailing list