手动刷新IIS7输出缓存 [英] Manually refresh output cache in IIS7

查看:125
本文介绍了手动刷新IIS7输出缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题描述:
在我们的网站,我们使用标准的ASP缓存,持续时间设置为5小时。

Problem description: On our website we use standard asp cache with duration set to 5h.

它工作正常,但有时发行商补充说,必须表现出不耐烦地在许多不同的子页面(例如一些促进文章)。

It works fine, but sometimes the publisher add some special content that need to be showed impatiently on many different sub-pages (example some promoted article).

这就是我需要做很容易使用的页面是这样的:

That's what I need to do it's easy to use page like this:

mydomain.com/admin/clear-all-website-output-cache.aspx。

mydomain.com/admin/clear-all-website-output-cache.aspx.

我想清楚了服务器端缓存。

I want to clear SERVER SIDE CACHE.

感谢您的帮助。

我们使用:IIS7,ASP.net 3.5

we use: IIS7, ASP.net 3.5

推荐答案

使用的上的某些文件缓存依赖,缓存将在文件中更改过期。

Use cache dependency on some file, the cache will expire when the file changed.

这篇关于手动刷新IIS7输出缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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