如何清除Sitecore 7.5交付服务器上的缓存? [英] How to clear cache on Sitecore 7.5 delivery server?

查看:72
本文介绍了如何清除Sitecore 7.5交付服务器上的缓存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2个使用Sitecore 7.5的CD服务器,它们的实际Sitecore接口已关闭.有什么办法可以清除2个CD服务器上的缓存?我知道我可能会写一种代码来做到这一点,但是令我惊讶的是,没有现成的方法可以做到这一点.

I have 2 CD servers using Sitecore 7.5 that have the actual Sitecore interfaces turned off. Is there any way for me to clear the caches on the 2 CD servers? I know that there is probably a way I could write code to do it, but I would be surprised that there is no way to do it out of the box.

谢谢,科里

推荐答案

这不是一个很好的解决方案,但可以满足您的特定要求.

It couldn't be a neat solution but could fit into your specific requirment.

  • 访问Sitecore的页面以手动刷新缓存.网站\ sitecore \ admin \ cache.aspx
  • 复制到要从中访问此页面的特定目录.
  • 反编译Sitecore的dll"Sitecore.sitecore.admin.CacheAdmin",并从其中删除Sitecore身份验证要求,并创建您的自定义类.
  • 在放入CD服务器的cache.aspx中使用该自定义类.

这篇关于如何清除Sitecore 7.5交付服务器上的缓存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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