Bug 537843 Disable disk cache for fennec. r=mfinkle/stuart
authorDoug Turner <dougt@dougt.org>
Tue, 05 Jan 2010 13:57:26 -0800
changeset 1265 3877bec117f2b1bdb19f6525368bd6e8099c1201
parent 1264 24fa03e7ddac36bc1c689024ba07e968d64381c6
child 1266 3c75260a9b45215a8138bdc5abec74ac045b32e1
push id1126
push userdougt@mozilla.com
push dateTue, 05 Jan 2010 21:57:42 +0000
reviewersmfinkle, stuart
bugs537843
Bug 537843 Disable disk cache for fennec. r=mfinkle/stuart
app/mobile.js
--- a/app/mobile.js
+++ b/app/mobile.js
@@ -52,23 +52,19 @@ pref("browser.ui.cursor", true);
 
 /* use custom widget for html:select */
 pref("ui.use_native_popup_windows", true);
 
 pref("javascript.options.showInConsole", false);
 pref("browser.dom.window.dump.enabled", false);
 
 /* cache prefs */
-#ifdef MOZ_PLATFORM_HILDON
-pref("browser.cache.disk.enable", true);
-pref("browser.cache.disk.capacity", 10240); // kilobytes
-#elifdef WINCE
 pref("browser.cache.disk.enable", false);
 pref("browser.cache.disk.capacity", 0); // kilobytes
-#endif
+
 pref("browser.cache.memory.enable", true);
 pref("browser.cache.memory.capacity", 1024); // kilobytes
 
 /* tile cache prefs */
 /* -1 = default to very small value for the number of tiles unless we know about
         the device in which case we set this to an optimal value
 */
 #ifdef WINCE