Over 300 free and legal portable apps, up-to-date, & new apps weekly (Jun 14, 2013: Opera Mail). Please contribute today!.
PortableApps.com Carbide: Military-grade hardware-encryption, water/shock/dust/tamper-resistant, 5 years antivirus+warranty!
It's safest, most secure USB flash drive on Earth. And it comes with PortableApps.com and your name on it. Starting at $94.95!

Firefox Cache

Legace - April 12, 2008 - 3:59pm

On the link below, you can learn to change the directory of the FF cache.
http://kb.mozillazine.org/Browser.cache.disk.parent_directory

I have made it so, that FF portable (I wan't to minimize the number of writes to the flash disk) uses C://Cache as it's cache directory. Is it possible to make a .bat/NSIS file that will delete the Cache directory when run.

Thanks in advance.


( categories: )

...

Just disable the cache. If you're going to delete it anyway before you unplug the drive, there's really no need to use it at all. Firefox maintains a RAM cache while its running; what does adding an equally transient disk cache gain you?

The purpose of a disk cache is to cache visited pages across sessions. If you intend to delete the cache directory as soon as you're done with a session, there's absolutely no point in using it.

Actually

Actually my experience has show that FF will use the disk cache during a session as well as the RAM cache.

[e.g. If I go back to a page I have not visited in a while that as a lot of images they redraw much slower if disk cache in disabled (this is on a hard drive by the way). I think the RAM cache purges old data during a session and needs to "recache" it again if it can't write to a disk cache]

Tim

Things have got to get better, they can't get worse, or can they?

@Bruce: Quote: "what does

@Bruce:
Quote: "what does adding an equally transient disk cache gain you?"
It makes FF run faster/smoother on computers with little ram. Plus in general it will lower the ram usage a lot.

Quote: "(...)there's absolutely no point in using it."
As described above I really believe there is a big point in using it... it is rare that computers have a bunch of ram! especially school/educational-places-computers...

I think that it is great that FF have this option (to not only use the ram red.)