蓝色信仰

博客园 首页 新随笔 联系 订阅 管理

2012年1月3日 #

摘要: 在项目中新建一个website,新建一个PageCache.aspx页面,在页面代码的第二行填写:<%@ OutputCache Duration="3" VaryByParam="none" %> //不根据任何URL的参数进行缓存或<%@ OutputCache Duration="3" VaryByParam="id" %> //根据URL的参数id进行缓存PageCache.aspx:<%@ Page Language="C#" AutoEventWireu 阅读全文
posted @ 2012-01-03 17:25 蓝色信仰 阅读(625) 评论(1) 推荐(0) 编辑