【问题标题】:Content does not reflect on CD server after publishing from CM server从 CM 服务器发布后,内容未反映在 CD 服务器上
【发布时间】:2017-05-05 11:52:45
【问题描述】:

当内容从 Content Management 服务器发布到 Content Delivery 服务器时,发布活动是不一致的,即,有时内容会在几分钟内反映到 CD 服务器上,或者需要一整天。内容立即反映在 CD 服务器上的唯一情况是重新启动应用程序池,但这不是最佳实践,因为内容编辑可能很频繁,并且每次重新启动应用程序池都可能使应用程序崩溃。请建议可以采取哪些其他措施来解决此问题

【问题讨论】:

  • 听起来您的缓存清除设置不正确。检查 'publish:end:remote' 配置设置,如果您的 'site' 不是默认网站,请添加它。

标签: .net asp.net-mvc sitecore sitecore7.2 web-publishing


【解决方案1】:

确保您启用了可扩展性设置。

另外,您是否配置了 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>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-06-20
    • 1970-01-01
    • 1970-01-01
    • 2018-04-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多