• Basics
  • Abyss
  • C# & Razor
  • JavaScript & TS
  • Web API
  • .net API

    Show / Hide Table of Contents

    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 Source

    CacheFullKey

    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
    System.String

    Full key containing own partial key and upstream keys.

    | Improve this Doc View Source

    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
    System.String

    A string which is specific to this cache-item.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX