|
THotPDF.RenderCacheFolder
|
Top Previous Next |
|
Specifies the disk directory path where rendered page cache tiles are stored for performance optimisation
Delphi syntax: property RenderCacheFolder: string read FRenderCacheFolder write FRenderCacheFolder;
Description Specifies the disk directory path where rendered page cache tiles are stored for performance optimisation The directory must have appropriate read/write permissions for the application process Leave empty to use memory-only page rendering caching The path is a Unicode string, so folders whose names contain characters outside the system code page are used exactly as given
See also: THotPDF Corrupt page images, stale index rows, abandoned temporary files, and unindexed document folders are repaired automatically when the cache is opened or read Invalid document keys, page indexes, and DPI values are rejected before a path is created Cached pages are keyed by the identity of the loaded source: for a document loaded from a file the key takes in its size, last-write time and the bytes at its start and end, so this property may be set before or after loading as you please; a document loaded from a stream or a random-access source is hashed whilst it loads, so for such documents set this property before calling the load method Encrypted documents are never written to the disk cache, and once a loaded document has been edited the disk cache is neither read nor written for the remainder of that session; entries for the unmodified file remain valid for later sessions The rendering backend and the ICC proofing settings form part of the disk key, so altering them does not hand back pages rendered under the previous settings
See also: THotPDF, Cache Infrastructure |