首页 新闻 会员 周边

ASP.NET缓存的SetSlidingExpiration

0
悬赏园豆:80 [已关闭问题]
<P>在网页中设置SetSlidingExpiration(true)无效。每次提交获取的都是最新页而非缓存页。请问是什么原因。要设置页面的过期类型为可调过期应该怎么做?在微软上也有说明该问题,但没解决方法。<A href="http://support.microsoft.com/kb/909643/en-us">http://support.microsoft.com/kb/909643/en-us</A></P> <P>另外也有文章说明:When sliding expiration is enabled (<B>SetSlidingExpiration(true)</B>), a request made to the origin server always generates a response. Sliding expiration is useful in scenarios where there are downstream caches that can satisfy client requests, if the content has not expired yet, without requesting the content from the origin server. </P> <P>不是很领会以上的意思。关键是应该怎样做呢?</P> <P>向各位高人讨教了。</P>
问题补充: 多谢deerchao的解析,但是具体应该怎么做,才能将页面的缓存过期设置为可调过期呢?能不能给个详细的方法啊。
JackMa的主页 JackMa | 初学一级 | 园豆:170
提问于:2008-03-19 23:27
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册