Skip to content

Instantly share code, notes, and snippets.

@trnktms
Last active November 3, 2020 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trnktms/3f3327042bb9ea85926d402344905f4c to your computer and use it in GitHub Desktop.
Save trnktms/3f3327042bb9ea85926d402344905f4c to your computer and use it in GitHub Desktop.
<?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