Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

How can I deploy the setting of clear cache on exit for all users?

  • 1 réponse
  • 1 a ce problème
  • 65 vues
  • Dernière réponse par cor-el

more options

How can I deploy the setting of clear cache on exit for all users?

How can I deploy the setting of clear cache on exit for all users?

Toutes les réponses (1)

more options

Note that Firefox disables the disk cache if you use "Clear history when Firefox closes" to clear the cache (see about:cache), so you can either disable the disk cache via its related pref or set the prefs related to clearing this data,but then other items that have a check-mark by default are cleared as well.

  • browser.cache.disk.enable
  • privacy.clearOnShutdown.cache
  • privacy.sanitize.sanitizeOnShutdown

You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.

Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, but allow changes in current session
lockPref();	// lock pref, disallow changes

See also: