Click or drag to resize
Pdf Library for .NET

HtmlToImageElementHttpCache Property

Selects what the engine's HTTP cache keeps from this conversion for the next one.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public HttpCacheMode HttpCache { get; set; }

Property Value

HttpCacheMode
Remarks
The default value is All.

Keeping the cache makes later conversions of pages that share resources faster. Set Clear when conversions run on behalf of different users whose responses must stay separate, or ThirdParty to keep only resources from other sites than the converted page's own.

The setting applies when the engine runs inside the application; a conversion that runs in its own engine process always starts with an empty cache.

See Also