Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

Automatically set Firefox cache to local temp directory

Ryukenden - April 5, 2009 - 2:23am

I think Firefox portable would be a lot faster if it had the option to use a directory of the current computer for the cache, for example, %TEMP%\FirefoxPortable. This folder would be deleted after Firefox was closed.
I know i can add browser.cache.disk.parent_directory to about:config, but since the path has to to have double backslashes for each backslash (ie. C:\Temp\Cache has to be inserted as C:\\Temp\\Cache), i can't use the %TEMP% windows environment variable to set browser.cache.disk.parent_directory because the %TEMP% variable contains single backslashes (ie. C:\Windows\Temp instead of the needed C:\\Windows\\Temp).
Thus, currently only way to use a cache in a local computer is to change browser.cache.disk.parent_directory every time one changes computers.


( categories: )