Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?xml version="1.0"?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/">
<sitecore role:require="Standalone or ContentManagement">
<RenderingHostCacheClear.Tenants>
<Tenant startPath="/sitecore/content/Discovering-Sitecore10">
<Endpoint>https://www.renderinhost1.localhost/api/outputcache/clear</Endpoint>
<Endpoint>https://www.renderinhost2.localhost/api/outputcache/clear</Endpoint>
</Tenant>
</RenderingHostCacheClear.Tenants>
<events>
<event name="publish:itemProcessed">
<handler
type="Discovering.Sitecore10.Processors.PublishEnd.TriggerRenderingHostCacheClear, Discovering.Sitecore10"
method="OnItemPublished"
resolve="true" />
</event>
</events>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.