Last active
November 3, 2020 07:13
-
-
Save trnktms/3f3327042bb9ea85926d402344905f4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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