Skip to content

jbluemink/DictionaryFlushPartialCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DictionaryFlushPartialCache

Sitecore Dictionary Flush Partial Cache

If you use Partial Html Cache and Sitecore Dictionary items the Cache will not flush on changes. For flushing Html cache on Dictionary change, There are multiple ways to use the Dictionary but this is about when using Sitecore Items in master/web database and editors can change the value. This workaround contains: a processor in the item:save event that do a clear on the cache when a dictionary item is saved. Flush the entire cache or specify which renderings you want to clear, auto detect which rendering are using the dictionary is complex to write. So specify or just flush the whole cache. This goes against the idea of the partial HTML cache, but it is useful to be able to completely empty the cache if you need to. Usually the dictionary is not modified much and extra permissions are needed for this.

About

Sitecore Dictionary Flush Partial Cache

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages