Relocating firefox's profile and cache into tmpfs of RAM; speed up firefox and save your hard drive's lifespan and space.
Change XXXX.UserProfile to exactly to your path of course.
creating backup locations first:
Code:
mkdir ~/backup/firefox.profile
mkdir ~/backup/firefox.cache
chmod 700 ~/backup/firefox.*
edit your /etc/fstab add following lines files will be mounted on firefox original locations, profile and cache:
Code:
tmpfs your_home/.mozilla/firefox/XXXX.UserProfile
...