Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图让 IIS 不刷新缓存的数据,以便在没有请求的一段时间后加载页面可以更快。到目前为止,我已经尝试过了,但取得了任何成功:
我会错过什么?有没有什么东西会在空闲一段时间后强制刷新缓存?
如果您使用的是 ASP.NET,则可以使用 web.config 设置或以编程方式控制缓存。
看这里:http ://www.15seconds.com/issue/040518.htm