From 05ca7bc11a4b6a40452d0b7ad62c37c511a8f91e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Antanavi=C4=8Dius?= <60816397+lukasan@users.noreply.github.com> Date: Thu, 11 Apr 2024 22:01:19 +0300 Subject: [PATCH] docs caching change Piranha.Caching to Piranha.Cache The Piranha.Caching.CacheLevel is actually in Piranha.Cache at least in 10.x versions... --- src/04. Architecture/03. Caching/Index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/04. Architecture/03. Caching/Index.md b/src/04. Architecture/03. Caching/Index.md index 05b638f..0eb5c57 100644 --- a/src/04. Architecture/03. Caching/Index.md +++ b/src/04. Architecture/03. Caching/Index.md @@ -30,7 +30,7 @@ By default Piranha caches **everything** when a Cache Service is registered, but ##### CacheLevel.None ~~~ csharp -Piranha.App.CacheLevel = Piranha.Caching.CacheLevel.None; +Piranha.App.CacheLevel = Piranha.Cache.CacheLevel.None; ~~~ Nothing is cached even if a cache service is registered. @@ -38,7 +38,7 @@ Nothing is cached even if a cache service is registered. ##### CacheLevel.Minimal ~~~ csharp -Piranha.App.CacheLevel = Piranha.Caching.CacheLevel.Minimal; +Piranha.App.CacheLevel = Piranha.Cache.CacheLevel.Minimal; ~~~ The following data is kept in cache: @@ -49,7 +49,7 @@ The following data is kept in cache: ##### CacheLevel.Basic ~~~ csharp -Piranha.App.CacheLevel = Piranha.Caching.CacheLevel.Basic; +Piranha.App.CacheLevel = Piranha.Cache.CacheLevel.Basic; ~~~ The following data is kept in cache: @@ -62,7 +62,7 @@ The following data is kept in cache: ##### CacheLevel.Full ~~~ csharp -Piranha.App.CacheLevel = Piranha.Caching.CacheLevel.Full; +Piranha.App.CacheLevel = Piranha.Cache.CacheLevel.Full; ~~~ -Everything is kept in cache, including all Blocks and Fields for Content Types. This is the default cache level. \ No newline at end of file +Everything is kept in cache, including all Blocks and Fields for Content Types. This is the default cache level.