1

Smart Publish appears to clean out HTMLCache selectively, essentially only for the items that have been published rather than fully clearing out the HTML cache.

I have several pages whose content is dependent on it's child items and doesnt get updated when the child item is smart published.

Is there a way to indicate to sitecore that these are "related" content and to kick out the parent page's HTML from the cache when the child item is published?

Or would I need to create a custom cache clearing strategy for that page's renderings?

  • The HtmlCacheClearer always clears the full html cache. I would say you have another cache that is holding on to something and isn't getting cleared. – Richard Seal Aug 28 '19 at 18:02
  • Even for smart publishing? Unless I've missed something when I've published (using 9.2) it looks like it kicks out only the published item's html. – Adam Hess Aug 28 '19 at 18:12
  • 1
    Unless something has changed in 9.2, HtmlCache is always fully cleared for any type of publish. – Richard Seal Aug 28 '19 at 18:14
  • Maybe it's local cache related.. I'll take a look at the browser cache if that's not preventing the content update. – Adam Hess Aug 28 '19 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.