Modify Firefox cache location in ubuntu

First allocate a ram disk in ubuntu, in terminal, type in these commands,

mkdir -p /tmp/ram

sudo mount -t tmpfs -o size=2014M tmpfs /tmp/ram/

then input about:config in firefox address bar

add new string browser.cache.disk.parent_directory, set the value to /tmp/ram/

restart Firefox!

Leave a Reply

Your email address will not be published.