Skip to content

A Sitecore Helix module to expand the built-in caching for timeout expiration

Notifications You must be signed in to change notification settings

kmac23va/Foundation.Caching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Foundation.Caching

This module is designed to expand Sitecore's caching capability to add a timeout parameter. By inserting a value, the rendering will only expire its cache at the end of the specified time, not on a content publish.

Installation

Add the module code to your solution (either importing the files or as a Helix module). Run the included Sitecore package to add the timeout field; you can then incorporate the field into your source control using your preferred tool (TDS, Unicorn, CLI).

Notes

  • This module is configured with the Sitecore 10 Sitecore.Mvc reference. You can change this as appropriate for your solution.
  • The caching site definition is preset with the preventHtmlCacheClear attribute; if you use this module with a 9.2 or lower site, you do not have to do anything extra, as the site will not be included in the publish:end cache clearing.

More Information

See this blog post for more information about the code in this module.

About

A Sitecore Helix module to expand the built-in caching for timeout expiration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages