Hi there, I'm having some problems with SysCache2 and cache expiration. When you configure a cache region, you can do one of the following:
1. Items will expire after SysCache2.SysCacheRegion.defaultRelativeExpiration (300 secs) <cacheRegion name="Tasks"> 2. Items will expire after an hour <cacheRegion name="Tasks" relativeExpiration="3600"> 3. Items will expire at 2am tomorrow morning <cacheRegion name="Tasks" timeOfDayExpiration="2:00:00"> How can I set items never to expire? (i.e. NoAbsoluteExpiration) Looking at the source, SysCache2.SysCacheRegion.GetCacheItemExpiration () will fall back to NoAbsoluteExpiration if no relative or timeOfDay expiration is set, but this can never occur because SysCacheRegion.Configure() sets relativeExpiration = defaultRelativeExpiration if you don't configure any. Suspect this might be a bug, but wanted to check here first before raising an issue in Jira. Rich --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
