You can't imagine how Firefox loves to write temporary files. I realized it on my Acer Aspire One with its ugly 8GB SSD. An excellent tip I read on the web consists in mounting a directory in memory and configuring FF to use it.
Let's go :
sudo gedit /etc/fstab
Add the following line :
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
In Firefox, open this internal URL :
Right click to add a new string entry :
Set its value to
Reboot your machine and appreciate...
Of course, this tip is certainly portable on Microsoft Windows with softwares like RamDrive even if I presented it on Linux.