WebPart有一个缓存类Microsoft.SharePoint.Portal.WebControls.CacheableWebPart
,直接从该类中派生出来,然后在RenderWebpart时先设置缓存时间,CacheKEY可以设置根据不同的参数来加载不一样的缓存
WebPart有一个缓存类Microsoft.SharePoint.Portal.WebControls.CacheableWebPart
,直接从该类中派生出来,然后在RenderWebpart时先设置缓存时间,CacheKEY可以设置根据不同的参数来加载不一样的缓存