ASP.NET页面缓存无法正常工作 [英] ASP.NET Page caching not work properly

查看:119
本文介绍了ASP.NET页面缓存无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在项目中为特定的ASP.net页面进行缓存,并添加了以下内容:

Hi guys,

I make caching for specific ASP.net Page in my project, and added this:

<%@ OutputCache Duration="600" VaryByParam="None" %>



但是当我进入页面一次后,我便输入了easy,但是很多时候页面没有显示并给我以下信息:
尽管持续时间为10分钟,但几秒钟后未显示

该页面无法显示

您要查找的页面当前不可用.该网站可能遇到技术难题,或者您可能需要调整浏览器设置.



but when i enter the Page once i enter easy, but many times the Page not displayed and give me this:
Inspite of the Duration is 10 minutes and it not displayed after few seconds

The page cannot be displayed

The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

推荐答案

似乎将您的数据从缓存中删除,然后尝试访问缓存数据.因此,请尽量减少时间并查看差异.或者,如果您要维护缓存依赖项或其他内容,请在此处发布更多信息.
请在自动数据删除
"部分下访问该网站以获取更多信息. :
http://msdn.microsoft.com/en-us/library/ms178597.aspx [ ^ ]
Seems your data removed from cache and then trying to access the cache data. So try to minimize the time and see the difference. OR post here few more info if you are maintaining cache dependency or other stuff.
Please refer this site for more info under section "Automatic Data Removal
":
http://msdn.microsoft.com/en-us/library/ms178597.aspx[^]


这篇关于ASP.NET页面缓存无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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