GrapeCity.ActiveReports.Web.v8 Assembly > GrapeCity.ActiveReports.Web Namespace > WebViewer Class : SlidingExpirationInterval Property |
'Declaration Public Property SlidingExpirationInterval As System.TimeSpan
public System.TimeSpan SlidingExpirationInterval {get; set;}
By using this property, you can advance the retention period for the reports that are stored in the cache. For the reports that have exceeded the retention period, they are not necessarily always destroyed at that very moment, and the timing for that depends on the garbage collection.
In particular, if the report to be generated does not change every time, then there is no need to retain it in the cache for a long time, therefore efficiency can be achieved by setting just the minimum value of the generation time of the report.