Ticket #322 (closed defect: fixed)
Controller cache API is missing
| Reported by: | Elliot Sprehn | Owned by: | boomfish |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 Maintenance Final |
| Version: | 3.0.178 | Severity: | major |
| Keywords: | Cc: |
Description
Originally posted by Elliot Sprehn on 5/17/2008 at 1:42 AM: entered by Ezra Parker on port to new system
The cache API from the modelglue.unity.controller.Controller is missing.
These functions are:
AddToCache()
ExistsInCache()
GetFromCache()
RemoveFromCache()
I was thinking that if these are implemented as part of the content cache then it should probably be documented that a prefix of "modelglue." on the key is appended, plus the controller name since the cache was separate for each controller?
Although, I could see wanting objects (ex. queries) to be cached by default for X amount of time and content cached with a different timeout. Would it be possible to just leave the old modelglue.util.TimedCache and defaultCacheTimeout?
Thanks.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)