I came across a pretty cool firefox tip that shows you to use tmpfs for your firefox profile. I wrote up a wiki article based on the tip (crediting the original source on the wiki). Please have a look and comment if you think it's value-added:
Last edited by graysky (2009-08-19 11:45:05)
Easier: go to about:config, create a new string variable called browser.cache.disk.parent_directory, set it to /dev/shm/ff-cache, restart Firefox.
Easiest: go to about:config, filter for disk.enable, set it to false, and let memory caching do its thing.
Last edited by Wintervenom (2009-08-19 16:13:05)
I maked another way very simple (very similary with Wintervenom):
in /etc/fstab i mounted /tmp in ram
none /tmp tmpfs mode=1777,nosuid,noatime 0 0
and in about:config I insert
PS /tmp is very small but more speed!
I have never bought on ebay, the macbook I do not like, I do not need facebook or myspace or secondlife
I am not a nerd or lamer or troll or geek or hacker or cracker
and I have never voted to elect berlusconi
Thanks for the replies, all. I think the two methods you guys suggest will just relocate the cache dir to a memory partition, not the entire profile. Also, I have read on several blogs that Firefox has speed issues w/ no disk cache (I haven't confirmed it though). In any case, thanks for the suggestions, particularly moving the cache to /dev/shm/x via browser.cache.disk.parent_directory
Last edited by graysky (2009-08-19 17:11:39)
This is awesome!
But I wonder what happens when the 128MB tmpfs is full. Does someone know?
Then swap is utilized until its gone..slower then!
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!