在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.
我怎样摆脱这个?
答案 0 :(得分:7)
Sitecore.Publishing.HtmlCacheClearer.ClearCode()
执行完成后(在本地服务器上或远程执行),都会执行 Publish
方法(记录此信息)。
您的应用程序看起来经常执行Publish
。如果您认为这可能是一个错误,请尝试调查哪些项目正在发布(例如,通过向publish:itemProcessing
事件添加处理程序)并检查为其调用Publish
的内容。