Thanks @sunrat for the post. It helps. I have a further question on your post. I have put those over there. If possible do have a look at it.Firefox stores its profile in ~/.mozilla and Thunderbird in ~/.thunderbird. cache stores site data but browser settings and add-ons remain in the profile....
3) Many applications use .cache as a persistence directory. For example Firefox stores its profile under .cache. So does Thunderbird. Many File Managers also use .cache to store the configuration. Also many Desktop Environments use the .cache directory for storing configuration. So putting .cache in tmpfs will result in a loss of all the settings and cache. For example in case of Firefox the entire set of extensions, add-ons, settings along with the cache will be lost. How do you deal with this?
I wrote a how-to which will save a lots of disk writes:
[HowTo] Move browser profile and cache to RAM
Statistics: Posted by DebianFox — 2024-09-10 05:00