Thursday, November 20, 2008

Changing the Firefox Disk cache path

In Windows Operating system, the cache of Firefox is by default located in Documents and Settings folder and on the same drive that Firefox was installed. The cache will be accessed by the browser all the time for reading and writing operations. If you make the browser access the cache faster, you can increase the performance of your browser, so it is a good idea to change the path of cache onto a temporary directory on a faster hard drives. By changing the path of cache, you will not only be increasing the performance of Firefox, but also security, as the cache may contain confidential data that you dealt with while you were browsing.

The location of the the Firefox disk cache cannot be changed in the Firefox settings. The only way is to add a new parameter in the about:config dialog. Follow the below instructions to change it.

Type about:config in the Firefox address bar. Right-click on the page and select New and then String from the menu.

Enter browser.cache.disk.parent_directory as the preference name and the new path as the string value, for example F:\Firefox_Temp (where F Drive is a faster hard drive) and restart Firefox.

Screenshot

No comments: