Hello, On my site, whenever a user views another users profile, I store the user object in memory. Right now, I store the object for 10 minutes. Is 10 minutes to long or to short? Just looking for some opinions. Thanks
Do have a way of determining when the profile is made invalid? If so, you can use a cache key dependency when caching the object, and leave it in the cache indefinitely - when the dependency changes, the object will be removed from cache. hth, Adam
This posting is provided "AS IS" with no warranties, and confers no rights.
MarkDiesel
Member
115 Points
23 Posts
How Long should I store this in cache?
Aug 01, 2003 12:44 PM|LINK
Adam Smith
Member
90 Points
18 Posts
Microsoft
Re: How Long should I store this in cache?
Aug 01, 2003 06:05 PM|LINK
MarkDiesel
Member
115 Points
23 Posts
Re: How Long should I store this in cache?
Aug 01, 2003 07:41 PM|LINK
javan15
Participant
1461 Points
337 Posts
Re: How Long should I store this in cache?
Aug 02, 2003 07:12 AM|LINK