Scott's Caching Tips

posted on 03/21/07 at 12:09:40 am by Joel Ross

Scott Watermasysk comes up with another great tips article?- this time about caching. All of the tips are great, but there are a couple that stand out. First, he talks about VaryByCustom, allowing you to basically set a custom key for your cache (so you could cache by role, or something common among users). Another one is about over-caching. Basically, if you cache beyond a page or two on a grid, you're pretty much wasting memory, because very few people actually go beyond page 1.

Oh yeah - the tools to view what's in your cache are good too, although, I think I'll stick to the Low-Tech way.

Technorati Tags:

Categories: ASP.NET