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
committed by Qingping Hou
parent 04e6df1fd0
commit e23cc2a1de

View File

@@ -567,7 +567,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();