<%@ OutputCache duration="15" VaryByParam="id" %>

duration 表示缓存时间

VaryByParam 参数   不同的参数,不同的缓存