Dependencies
Dependencies copied to clipboard
remove `BinaryCache.FilepathDatabase` to make cache works correct
- remove
BinaryCache.FilepathDatabase
to disable loading cache by file path, fix #54 - lazy-load cached files to reduce memory footprint (WS Shareable)
- update and use LastAccessTime of cached files to make LRU more reasonable
- refactoring to clear the two level cache architecture:
BinaryDatabase
as memory cache andBinaryCacheFolderPath
as disk cache
-
BinaryDatabase
keeps only loaded PE, but not all file inBinaryCacheFolderPath
- remove
LruCache
totally, LRU is arranged by setLastAccessTime
to file,Unload
deletes outdated cache files byLastAccessTime