in

SDT Community Server

SDT Forums, Blogs, Photos server.

Coolboy

Browse by Tags

All Tags » Cache (RSS)
  • Cache总义,Cache用法之页面声明

    Cache总义Cache用法之页面声明 Cache总义Cache用法之页面声明 <%@ outputCache Duration="#ofseconds" Location="Any|Client|Downstream|Server|None" VaryByControl="ControlName" VaryByCustom="browser|customstring" VaryByHeader="headers" VaryByParam="Parametername" %> Cache用法之代码控制 HttpCachePolicy类是专门用来控件Cache的,可以用Response.Cahce来访问这个类的实例 Response.Cache.SetExpires(DateTime.Now.AddDays(1)); Response.Cache.SetCacheability(HttpCacheability .Public); Response.Cache...
    Posted Sep 03 2007, 12:11 PM by Coolboy with | with no comments
    Filed under: ,
Copyright SDT, 2006-2007. All rights reserved.