Best practices of keeping Firefox profile on ramdisk

view full story

http://superuser.com – Having plenty of RAM, I'd like to use it to speed up the browser. Goals: Have profile and cache completely in memory, so HDD is not used much while browsing and fsyncs don't reach actual HDD or filesystems. In background, keep updating HDD copy of the profile, so that in case of sudden outage not more than X minutes of browsing are lost; Keep backups consistent (without broken sqlite databases etc.) I.e. trade some free memory and some recency of browsing session in case of crash for speed. How to organize such scheme? My current idea is like this: Use zram to create a ramdisk; modpro (HowTos)