ViewerConfigEnableCaching Property
Indicates whether to cache rendering results or not.

Namespace: GroupDocs.Viewer.Config
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.6
Syntax
public bool EnableCaching { get; set; }

Property Value

Type: Boolean
true if [enable caching]; otherwise, false.
Remarks
Enabling cache will let to avoid processing the same document more than once.
Examples
The following example demonstrates how to enable caching.
C#
ViewerConfig config = new ViewerConfig();
config.EnableCaching = true;
See Also