Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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