Something for you to try if you haven't already.
Benefits: Speed , security and saves power.
Drawbacks: Cache is repopulated from scratch after a reboot.
Doing it manually:
In Firefox, set the cache location to your new ramdisk:
Open about:config and add a new entry of type string.
name: browser.cache.disk.parent_directory
value: /mnt/ramdisk/
Close and re-open Firefox. Browse to a site and check /mnt/ramdisk/ is populated with files. Go into your home folder. Find and delete your old cache directory. Job done.
To automount the ramdisk and browse this way from now on you need to edit your fstab file.
Add:
Benefits: Speed , security and saves power.
Drawbacks: Cache is repopulated from scratch after a reboot.
Doing it manually:
size 80M, permissions=777sudo mkdir /mnt/ramdisk
sudo mount -t tmpfs -o size=80M,nr_inodes=10k,mode=777 tmpfs /mnt/ramdisk
In Firefox, set the cache location to your new ramdisk:
Open about:config and add a new entry of type string.
name: browser.cache.disk.parent_directory
value: /mnt/ramdisk/
Close and re-open Firefox. Browse to a site and check /mnt/ramdisk/ is populated with files. Go into your home folder. Find and delete your old cache directory. Job done.
To automount the ramdisk and browse this way from now on you need to edit your fstab file.
gksudo gedit /etc/fstab
Add:
#firefox cache
tmpfs /mnt/ramdisk tmpfs size=80M,nr_inodes=10k,mode=777 0 0