Content does not reflect on CD server after publis

2019-09-07 02:54发布

问题:

When a content is published from Content Management server to Content Delivery server, the publishing activity is inconsistent, i.e., sometimes the content reflects on CD server in couple of minutes or takes a whole day. The only scenario where the content reflects immediately on CD server is by restarting the application pool, but this is not the best practice as content editing can be frequent and every time restarting the app pool may crash the application. Please suggest what other measures can be taken, to get this issue resolved

回答1:

Make sure you have scalability settings enabled.

Also, did you configure the Html Cache Clearer?

  <event name="publish:end">
    <handler type="Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel" method="ClearCache">
      <sites hint="list">
        <site>website</site>
      </sites>
    </handler>
  </event>
  <event name="publish:end:remote">
    <handler type="Sitecore.Publishing.HtmlCacheClearer, Sitecore.Kernel" method="ClearCache">
      <sites hint="list">
        <site>website</site>
      </sites>
    </handler>
  </event>