Browse by Tags
All Tags »
Cache »
Cache用法 (
RSS)
Sorry, but there are no more tags available to filter with.
-
|
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...
|