2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
koreader/frontend/document
chrox 8c9751744e fix #1064 by adding timestamp of document in cache key
so that when document is modified the persistent cache will
be invalidated automatically because the cache key will not
be matched. There is no perfermance overhead here at all. We
even don't need to check the modification time of the cache item
on disk, because the name of the on disk cache is a md5sum of the
cacheitem key, now the filename of the cache files contains the
modification time information.
If the document is modified since one rendered page is cached to disk,
the cache key won't match the cache file. And the cache file will
be discarded without the need to open the cache file or to check
the modification time of the cache file itself.
2014-10-30 11:05:26 +08:00
..
credocument.lua save two blitbuffer memory allocations for crengine on each page turn 2014-10-27 22:05:24 +08:00
djvudocument.lua add djvu render mode options in readermenu 2014-10-15 20:31:24 +08:00
document.lua fix #1064 by adding timestamp of document in cache key 2014-10-30 11:05:26 +08:00
documentregistry.lua issue error directly when doc is malformated 2014-08-29 17:17:12 +08:00
koptinterface.lua fix #1064 by adding timestamp of document in cache key 2014-10-30 11:05:26 +08:00
pdfdocument.lua add needed ffi module when saving annotations 2014-10-26 23:16:27 +01:00
picdocument.lua issue error directly when doc is malformated 2014-08-29 17:17:12 +08:00
tilecacheitem.lua serialize the most recently used blitbuffer/koptcontext 2014-04-30 23:24:47 +08:00