Sitecore“HtmlCacheClearer清除所有网站的HTML缓存”

时间:2013-07-03 10:43:54

标签: asp.net sitecore sitecore6

在Sitecore(v6.6 130404)日志中,它加载了“HtmlCacheClearer清除所有站点的HTML缓存”日志条目。

日志提取:(每秒记录这些日志)

ManagedPoolThread #3 18:59:22 INFO  HtmlCacheClearer clearing HTML caches for all sites (1).
ManagedPoolThread #3 18:59:22 INFO  HtmlCacheClearer done.
ManagedPoolThread #3 18:59:22 INFO  HtmlCacheClearer clearing HTML caches for all sites (1).
ManagedPoolThread #3 18:59:22 INFO  HtmlCacheClearer done.
ManagedPoolThread #3 18:59:23 INFO  HtmlCacheClearer clearing HTML caches for all sites (1).
ManagedPoolThread #3 18:59:23 INFO  HtmlCacheClearer done.
ManagedPoolThread #3 18:59:23 INFO  HtmlCacheClearer clearing HTML caches for all sites (1).
ManagedPoolThread #3 18:59:23 INFO  HtmlCacheClearer done.
ManagedPoolThread #3 18:59:23 INFO  HtmlCacheClearer clearing HTML caches for all sites (1).
ManagedPoolThread #3 18:59:23 INFO  HtmlCacheClearer done.
ManagedPoolThread #3 18:59:24 INFO  HtmlCacheClearer clearing HTML caches for all sites (1).
ManagedPoolThread #3 18:59:24 INFO  HtmlCacheClearer done.

我怎样摆脱这个?

1 个答案:

答案 0 :(得分:7)

每次Sitecore.Publishing.HtmlCacheClearer.ClearCode()执行完成后(在本地服务器上或远程执行),都会执行

Publish方法(记录此信息)。

您的应用程序看起来经常执行Publish。如果您认为这可能是一个错误,请尝试调查哪些项目正在发布(例如,通过向publish:itemProcessing事件添加处理程序)并检查为其调用Publish的内容。