Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.IO.Caching.GetLocalCacheProvider Property

A caching data provider for locally cached data (one instance of the site). Uses ASP.NET's IMemoryCache service.

Class: YetaWF.Core.IO.Caching
Namespace: YetaWF.Core.IO
Assembly: YetaWF.Core

Syntax

public static Func<ICacheDataProvider> GetLocalCacheProvider { get; set; }

Remarks

This caching data provider can be used for data that needs to be cached in one single instance of a site. If multiple instances of the site are active, the cached data is NOT SHARED BETWEEN INSTANCES.

See Also YetaWF.Core.IO.Caching ClassYetaWF.Core Overview