Skip to content
Browse files

the default for extensions.scriptish.cache.enabled is now false, in o…

…rder to avoid having users think there is a memory leak because of this feature, also it's probably a better default for mobile devices
  • Loading branch information...
1 parent b9bcba5 commit 691b65821d71b7318dbd83146885168816bbcef1 @erikvold erikvold committed Oct 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 extension/defaults/preferences/scriptish.js
View
2 extension/defaults/preferences/scriptish.js
@@ -3,7 +3,7 @@ pref("extensions.scriptish.blocklist.enabled", true);
pref("extensions.scriptish.blocklist.interval", 86400);
pref("extensions.scriptish.blocklist.lastFetch", 0);
pref("extensions.scriptish.blocklist.url", "https://github.com/scriptish/scriptish/raw/master/blocklist.json");
-pref("extensions.scriptish.cache.enabled", true);
+pref("extensions.scriptish.cache.enabled", false);
pref("extensions.scriptish.config.prettyPrint.enabled", false);
pref("extensions.scriptish.enabled", true);
pref("extensions.scriptish.enabledSchemes.about", false);

2 comments on commit 691b658

@0rt
0rt commented on 691b658 Oct 6, 2011

How can I measure the speed between cache enabled or not? as well as the memory consume?

I would like to have it enable if worth it.

@erikvold
scriptish member

How can I measure the speed between cache enabled or not?

Well placed Date.now() calls or using PerfMeasurement.jsm.

as well as the memory consume?

I think nsIMemoryReporterManager will help there, but I haven't used it before.

Please sign in to comment.
Something went wrong with that request. Please try again.