On 01/21/02 04:20 AM, Cheng, Yui Pang wrote:
> i'm using winxpro with mozilla 0.97.
> how can i change the default cache
> directory of mozilla to somewhere
> else?
>
> ray
>
Use the following pref
// To set you cache directory to something other than the default
// which is <profile-dir>/cache.
// Mozilla creates the cache directory so your path should be to
// the parent directory.
// e.g.
// Windows - "C:\\TMP" -> Mozilla will create and use C:\Tmp\Cache
// *nix - "/tmp" -> Mozilla will create and use /tmp/cache
user_pref("browser.cache.disk.enable", true);
user_pref("browser.cache.disk.parent_directory", "<your-path>");
See http://www.geocities.com/pratiksolanki/ for more prefs.
Pratik.