Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.IO.Caching.GetStaticCacheProvider Property

A caching data provider for static shared cached data (between multiple instances of the site).

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

Syntax

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

Remarks

This caching data provider can be used for data that needs to be CACHED AND SHARED AMONG ALL INSTANCES OF A SITE.

While similar to GetSharedCacheProvider, GetStaticCacheProvider is intended to be used in cases where data is more likely to be used repeatedly and where a single-instance site would simply use a static variable.

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