Interface ICacheKey
Marks objects which can identify what cache it's for.
For example, when parameters change what data is cached, then the cache-key can contain this parameter,
so that a different cache is used based on changing parameters.
Namespace: ToSic.Eav.Caching
Assembly: ToSic.Eav.Core.dll
Syntax
[InternalApi_DoNotUse_MayChangeWithoutNotice("this is just fyi")]
public interface ICacheKey
Properties
| Improve this Doc View SourceCacheFullKey
Combination of the current key and all keys of upstream cached items, to create a long unique key for this context.
Declaration
string CacheFullKey { get; }
Property Value
Type | Description |
---|---|
string | Full key containing own partial key and upstream keys. |
CachePartialKey
Unique key-id for this specific situation - could be the same for all instances, or could vary by some parameter.
Declaration
string CachePartialKey { get; }
Property Value
Type | Description |
---|---|
string | A string which is specific to this cache-item. |