Menu

#4 add server cache

open
Other (6)
5
2009-05-02
2009-05-02
Mark Porter
No

Add a global cache with the following requirements:
- can be set/retrieved via $server.cache.set() and $server.cache.get()
- ability to set a cache lifespan in seconds
- ability to set "refresh" function to be executed by $server.cache.get() when cache is expired
- ability to clear the cache by name ($server.cache.clear("name"))
- ability to manage live server caches from Myna Administrator (view and
clear)
- ability to set maximum number of cached items in Myna Administrator

Discussion


Log in to post a comment.