在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.


我该如何摆脱呢?

最佳答案

每次Sitecore.Publishing.HtmlCacheClearer.ClearCode()执行完成时(在本地服务器上或远程),都会执行Publish方法(记录此信息)。

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

09-28 14:10