Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

ఇంకా తెలుసుకోండి

Our company decided to use Firefox for an implementation and we need to remotely set all systems to empty cache on exit

  • 3 ప్రత్యుత్తరాలు
  • 1 ఈ సమస్య కలిగినది
  • 1 వీక్షణ
  • చివరి సమాధానమిచ్చినది philipp

more options

We need to find, either a registry key or setting that can be deployed to all our computers. Specifically, it is to clear the disk cache files on exit. Thank you in advance for your assistance.

We need to find, either a registry key or setting that can be deployed to all our computers. Specifically, it is to clear the disk cache files on exit. Thank you in advance for your assistance.

ప్రత్యుత్తరాలన్నీ (3)

more options

hello hernandm, you can use the method described in http://kb.mozillazine.org/Locking_preferences to deploy certain settings. put the following code into the mozilla.cfg file to force firefox installations to clear the cache at shutdown:

//
lockPref("privacy.sanitize.sanitizeOnShutdown", true);
lockPref("privacy.clearOnShutdown.cache", true);
defaultPref("privacy.clearOnShutdown.cookies", false);
defaultPref("privacy.clearOnShutdown.downloads", false);
defaultPref("privacy.clearOnShutdown.formdata", false);
defaultPref("privacy.clearOnShutdown.history", false);
defaultPref("privacy.clearOnShutdown.offlineApps", false);
defaultPref("privacy.clearOnShutdown.openWindows", false);
defaultPref("privacy.clearOnShutdown.passwords", false);
defaultPref("privacy.clearOnShutdown.sessions", false);
defaultPref("privacy.clearOnShutdown.siteSettings", false);
more options

Great philipp; thank you very much!

I'll have our packager add this to the installer she built. Also, i'll look at the kb since we've been asked as well to change this setting for existing installations. If you have that info handy I will appreciate it very much if you can share it too.

Again, thank you vey much.

more options

you're very welcome :))

if you can put the mozilla.cfg & \defaults\pref\local-settings.js files into existing firefox program directories in an automated way, this will also have an effect for those installations as soon as the browser is launched the next time...