Skip to main content

CacheCleanerSettings.DocumentTimeToLive Property

Indicates the lifetime of a report document in the cache.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v24.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public TimeSpan DocumentTimeToLive { get; protected set; }

Property Value

Type Description
TimeSpan

A TimeSpan structure.

Remarks

Use the CacheCleanerSettings constructor to specify this setting. The lifetime of the PRNX document in the cache is measured from the the last access time. The cache attempts to retrieve the document from the swap file if the document is not stored in memory. If there is no cached copy, an exception occurs.

See Also