Class CacheOptions
Inherited Members
Namespace: FastReport.Web.Cache
Assembly: FastReport.OpenSource.Web.dll
Syntax
public class CacheOptions : WebReportCacheOptions
Properties
UseCircuitScope
Enables WebReport cache management based on the user's Microsoft.AspNetCore.Components.Server.Circuits.Circuit in Blazor Server mode.
When enabled, the WebReport lifetime follows the user's session and settings such as CacheDuration, AbsoluteExpirationDuration and AbsoluteExpiration.
Declaration
public bool UseCircuitScope { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
If a user selects a different WebReport during the same session, the previous report is immediately removed from the cache. Similarly, when the user closes the browser tab or disconnects, the associated WebReport is promptly removed.
UseLegacyWebReportCache
Use legacy WebReport cache instead of Microsoft.Extensions.Caching.Memory.MemoryCache. Default value: true
Declaration
public bool UseLegacyWebReportCache { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |