Info
Version: | 10.3.0.22919 |
Author(s): | Richard J. Cabral, Christopher Giddings |
Last Update: | Friday, June 16, 2023 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://constellation4sitecore.com/foundation/cache/ |
NuGet Url: | https://www.nuget.org/packages/Constellation.Foundation.Caching |
Install
Install-Package Constellation.Foundation.Caching
dotnet add package Constellation.Foundation.Caching
paket add Constellation.Foundation.Caching
Constellation.Foundation.Caching Download (Unzip the "nupkg" after downloading)
Dependencies
- Sitecore.Kernel(>= 10.0.0)
- Sitecore.Mvc(>= 10.0.0)
Tags
Requires Sitecore 10.3
Requires .NET 4.8
Constellation is a collection of utilities for .NET CMS implementers.
The Foundation.Caching namespace contains a Cache facade class that allows a developer to cache an object to
either the Sitecore Cache or the System Web Cache.
In addition to providing quick access to these APIs, the facade also provides support for scoping cached objects at the following levels:
* Global
* Site
* Database
Request an ICacheManager from your service locator to use in your Controllers.
Portions based on work by Christopher Giddings: https://cjgiddings.wordpress.com/2012/02/03/sitecore-caching-utility/ updated heavily
for modularity and to support Sitecore 9.x.