This information has been making the rounds on twitter and tech blogs
for a few days now. Just wanted to see if anyone thought there was
anything immediately bad about it (will it hose users?) and if so
whether or not we should say or do something to prevent users from doing
this.
- A
> Once you get into about:config, type browser.cache into the filter bar
> at the top. Find browser.cache.disk.enable and set it to false by double
> clicking on it. You'll then want to set browser.cache.memory.enable to
> true (mine seemed to already be set as such), and create a new
> preference by right clicking anywhere, hitting New, and choosing
> Integer. Call the preference browser.cache.memory.capacity and hit OK.
> In the next window, type in the number of kilobytes you want to assign
> to the cache (for example, typing 100000 would create a cache of 100,000
> kilobytes or 100 megabytes). A value of -1 will tell Firefox to
> dynamically determine the cache size depending on how much RAM you have.
The main bad things are:
1) This will slow down some plug-ins (Adober reader, for certain)
which rely on being able to get to the data as a file; if we can't
store it on disk in our cache, we'll have to stream it to a temp
file instead.
2) The size of the memory cache is capped at a much lower number than
the size of the disk cache; it's a lot easier to fill it up and
start evicting things.
3) The disk cache, unlike the memory cache, persists across restarts.
This means that you trade off slower startup (due to none of your
restored tabs being in cache) and slower initial visits to all
sites for slightly faster repeat visits to sites, as long as you
didn't visit too much stuff in between.
4) We have ongoing work for Fx4 to make use of the memory cache as
well as the disc cache for the same content (right now we use one
or the other but not both for any given resource). Once we do
that, you'll get all the benefits of this "tweak" without the
drawbacks... and using the tweak at that point will be a strict
loss.
-Boris
>> This information has been making the rounds on twitter and tech blogs
>> for a few days now.
>
> The main bad things are:
>
>[...]
When this kind of thing happens, I think we should -- at minimum --
rename the prefs. We've got a lot of crusty footgun prefs around, and
when widespread advice is to fiddle with them (without understanding of
the tradeoffs, or outright brokenness the advice might cause), then our
users suffer and the browser takes the blame.
Of course, the even better solution is to look for ways to eliminate the
need for prefs and dials, and just make the browser do the right thing.
Obviously that's harder.
Justin
Justin,
Reread that and see if you don't think it is just a bit 'elitist'.
We know better what you want and need than you do, so just close your
eyes, and do it OUR way. Sigh.
I don't think users would perceive this as an advantage to them, even if
some benefit did accrue from it.
> _______________________________________________
> dev-apps-firefox mailing list
> dev-apps...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-apps-firefox
>
That one is quite old, and I am sure, no longer the case as I routinely
install extensions with disk cache set to 0.