内容不会从CM服务器发布后CD服务器上的反映 [英] Content does not reflect on CD server after publishing from CM server

查看:182
本文介绍了内容不会从CM服务器发布后CD服务器上的反映的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当一个内容从内容管理服务器向内容传递服务器发布,发布活动是不一致的,即,有时在内容反映在几分钟的光盘服务器上或在一整天花费。其中内容立即反映CD服务器上的唯一情况是通过重新启动应用程序池,但这不是最好的做法,因为内容编辑可频繁,每重新启动应用程序池时可能会崩溃的应用程序。请有什么建议可以采取其他措施,以便把这个问题解决了。

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

推荐答案

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

Make sure you have scalability settings enabled.

另外,你配置的Html缓存更清晰?

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>

这篇关于内容不会从CM服务器发布后CD服务器上的反映的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆