[debian-edu-commits] r80092 - in branches/wheezy/debian-edu-config: debian share/iceweasel/defaults/preferences

pere at alioth.debian.org pere at alioth.debian.org
Fri May 17 06:05:00 UTC 2013


Author: pere
Date: 2013-05-17 06:05:00 +0000 (Fri, 17 May 2013)
New Revision: 80092

Modified:
   branches/wheezy/debian-edu-config/debian/changelog
   branches/wheezy/debian-edu-config/share/iceweasel/defaults/preferences/debian-edu.js
Log:
Adjust Iceweasel setup in debian-edu.js to also disable the
offline disk cache, and enable memory cache with size adjusted
according to the available memory on the machine.

Modified: branches/wheezy/debian-edu-config/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-config/debian/changelog	2013-05-17 06:04:40 UTC (rev 80091)
+++ branches/wheezy/debian-edu-config/debian/changelog	2013-05-17 06:05:00 UTC (rev 80092)
@@ -11,6 +11,9 @@
   * Make debian-edu-bless more robust by trying twice to download
     packages before installing them, in case the network is flaky.
     Change its default locale from nb_NO.UTF-8 to en_US.UTF-8.
+  * Adjust Iceweasel setup in debian-edu.js to also disable the
+    offline disk cache, and enable memory cache with size adjusted
+    according to the available memory on the machine.
 
  -- Wolfgang Schweer <wschweer at arcor.de>  Sun, 12 May 2013 23:17:28 +0200
 

Modified: branches/wheezy/debian-edu-config/share/iceweasel/defaults/preferences/debian-edu.js
===================================================================
--- branches/wheezy/debian-edu-config/share/iceweasel/defaults/preferences/debian-edu.js	2013-05-17 06:04:40 UTC (rev 80091)
+++ branches/wheezy/debian-edu-config/share/iceweasel/defaults/preferences/debian-edu.js	2013-05-17 06:05:00 UTC (rev 80092)
@@ -1,11 +1,16 @@
 // Limit the disk cache, and disable it by default, to avoid users
 // filling up their home directory with cache files.
 pref("browser.cache.disk.enable", false);
+pref("browser.cache.offline.enable", false);
 
 pref("browser.cache.disk.capacity", 5120);
 // This need to point to a user specific file, can't use a common file for all users
 //pref("browser.cache.disk.parent_directory", "/var/tmp");
 
+// Only cache to memory instead
+pref("browser.cache.memory.enable", true);
+pref("browser.cache.memory.max_entry_size", -1);
+
 // Printer Settings
 pref("print.postscript.print_size", "A4");
 pref("print.postscript.print_command", "kprinter");




More information about the debian-edu-commits mailing list