Is page output cache stored in ASP.NET cache object?

情到浓时终转凉″ 提交于 2019-12-05 06:52:35

The default behaviour is to store the content in memory in the same way as HttpRuntime.Cache (actually in an internal HttpRuntime.CacheInternal which behaves similarly to the publicly visible cache), but in ASP.NET 4.0 you can write your own provider to store the content however you wish.

This a nice introduction to implementing a provider and using it in your application: http://dotnet.dzone.com/news/aspnet-output-cache-provider

It depends what you set as OutputCacheLocation

have a look at:

http://msdn.microsoft.com/en-us/library/system.web.ui.outputcachelocation.aspx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!