开发者

What is use of @outputCache directive in ASP.NET?

I think it has been related to cachin开发者_开发技巧g concept but don't know how is it used.


You can read about page output caching on MSDN: http://msdn.microsoft.com/en-us/library/ms178597.aspx

The directive allows you to specify settings such as whether a page should have its output cached, for how long, and other configuration options.

Output caching can be a performance benefit to a page that is expensive to run. Once it is cached, future requests will be served from the cache without the page having to run again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜