# mkdir /media/ramdisk
# mount -t tmpfs -o size=64M,nr_inodes=10k,mode=0777 tmpfs /media/ramdisk
In firefox, url bar => about:config
add a new string "browser.cache.disk.parent_directory", and value "/media/ramdisk/"
# vi /etc/fstab
=================================================================
tmpfs /media/ramdisk tmpfs size=64M,nr_inodes=10k,mode=777 0 0
=================================================================
Reference :
Only Ubuntu Linux: Firefox cache in ramdisk (tmpfs)
Speed up Firefox with tmpfs - verot.net
Speed up Firefox by mounting the profile in tmpfs [Linux only]
沒有留言:
張貼留言