You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
10 years ago
..
credocument.lua save two blitbuffer memory allocations for crengine on each page turn 10 years ago
djvudocument.lua add djvu render mode options in readermenu 10 years ago
document.lua fix #1064 by adding timestamp of document in cache key 10 years ago
documentregistry.lua issue error directly when doc is malformated 10 years ago
koptinterface.lua fix #1064 by adding timestamp of document in cache key 10 years ago
pdfdocument.lua add needed ffi module when saving annotations 10 years ago
picdocument.lua issue error directly when doc is malformated 10 years ago
tilecacheitem.lua serialize the most recently used blitbuffer/koptcontext 10 years ago