DiskCacheFolder
Viewer interaction
Description
Folder for the cross-session disk page cache; the default empty string disables the feature. When set, rendered pages persist on disk keyed by a document fingerprint of file path, size and write time, so reopening a recently viewed file shows pages without re-rendering; the cached bytes live under
Folder\PDFlibPas-PageCache, editing the document naturally invalidates its cached pages, and only documents opened through LoadFromFile participateChanging the folder discards the previous cache object and reopens the cache for the currently loaded file; at most
DiskCacheMaxDocuments document folders are kept
Syntax
Delphi
Property DiskCacheFolder: WideString Read FDiskCacheFolder Write SetDiskCacheFolder;See also
TPDFlibViewer, LoadFromFile, DiskCacheHits, DiskCacheMaxDocuments, Cache