Lets do the evil thing at start pre-loading libraries. This also restricts memory cache to 1/4 mb.

This commit is contained in:
dougt%meer.net 2005-09-19 17:58:08 +00:00
Родитель 692a880ed3
Коммит 368222d869
3 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -555,7 +555,7 @@ PRBool DoesProcessAlreadyExist() {return PR_FALSE;}
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#ifdef WINCE
// #define HACKY_PRE_LOAD_LIBRARY 1
#define HACKY_PRE_LOAD_LIBRARY 1
#endif
#ifdef HACKY_PRE_LOAD_LIBRARY

Просмотреть файл

@ -61,7 +61,7 @@ WriteConsoleLog()
if (!file)
return;
file->Append(NS_LITERAL_STRING("jsconsole.log"));
file->Append(NS_LITERAL_STRING("jsconsole.txt"));
nsCOMPtr<nsILocalFile> lfile = do_QueryInterface(file);

Просмотреть файл

@ -4,7 +4,7 @@ pref("general.useragent.contentlocale", "chrome://minimo/locale/minimo.propertie
pref("browser.cache.disk.enable", false);
pref("browser.cache.disk.capacity", 0);
pref("browser.cache.memory.enable", true);
//pref("browser.cache.memory.capacity", -1);
pref("browser.cache.memory.capacity", 256);
// -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes
pref("browser.cache.disk_cache_ssl", false);
// 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
@ -767,3 +767,4 @@ pref("ssr.enabled", true);
pref("ssr.site.enabled", true);
pref("config.wince.dumpJSConsole", true);