diskCacheEnabled

Sets whether rendered pages may be persisted to the on-disk cache. Enabled by default. When disabled, the in-memory cache still applies, but rendered page images are never written to disk, so nothing survives the document closing or the process restarting. Password-protected documents are never disk-cached regardless of this setting.

Parameters

diskCacheEnabled

true to allow on-disk page caching, false to disable it.