Redis for sessions and global cache
-
App.globalCache
now can be stored in Redis ifubConfig.application.redis.useForGlobalCache
is true - Redis database index now can be specified in
ubConfig.application.redis.dbIndex
. Default is 0 - Redis key prefix can be specified in
ubConfig.application.redis.keyPrefix
. This allows share the same Redis DB between several server groups, in casedbIndex
is not usable (due to Redis hi-availability for example). Default is 'ub' -
_App.globalCacheList
can accept optionalkeyStartsWith
argument to limit returned key`s - new methods
App.memCachePut|Get
is added. In-memory cache is always instance-local, while globalCache is either in-memory or Redis