缓存一【微软自带的类库System.Web.Caching】

1.在ASP.NET中页面缓存的使用方法简单,只需要在aspx页的顶部加上一句声明即可:

   <%@ OutputCache Duration="100" VaryByParam="none" %>

   Duration:缓存时间(秒为单位),必填属性

2.使用微软自带的类库System.Web.Caching

posted on 2021-04-07 17:21  木乃伊人  阅读(72)  评论(0编辑  收藏  举报

导航