use 64Mb for on disk DOM cache for crengine

Previously we had cache size limit of 100 bytes, so crengine would erase
all on-disk cache on each file open as described in #206
This commit is contained in:
Dobrica Pavlinusic
2012-09-10 13:41:44 +02:00
parent 4cdbcac458
commit 880374f5db

View File

@@ -546,7 +546,7 @@ int luaopen_cre(lua_State *L) {
/* initialize font manager for CREngine */
InitFontManager(lString8());
ldomDocCache::init(lString16("./cr3cache"), 100);
ldomDocCache::init(lString16("./cr3cache"), 1024 * 1024 * 64); // 64Mb on disk cache for DOM
#ifdef DEBUG_CRENGINE
CRLog::setStdoutLogger();