Skip to content

Files

Latest commit

6c8ff79 · May 23, 2019

History

History
28 lines (16 loc) · 1020 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 1020 Bytes

Introduction

Builds upon Rhythm.Caching.Core with tools to invalidate caches based on events in Umbraco v8.

Refer to the generated documentation for more details.

Installation

Install with NuGet. Search for "Rhythm.Caching.Umbraco8".

Overview

ICacheHelper

This must injected via the constructor or pulled from the built-in Umbraco DI container.

  • PreviewCacheKeys The cache keys you can use to separate the caches for live and preview content.

Invalidators

  • InvalidatorByPage When a content node is changed, this invalidates a cache by the node's ID.
  • InvalidatorByPageAliases When a content node matching any of the specified content type aliases is published, this invalidates a cache.
  • InvalidatorByParentPage When a content node is changed, this invalidates a cache by the ID of that node's parent node.

Maintainers

To create a new release to NuGet, see the NuGet documentation.