angular-cache icon indicating copy to clipboard operation
angular-cache copied to clipboard

maxAge is not working

Open cullsin opened this issue 8 years ago • 0 comments

Hi,

The following code is not working and the cache persists even after maxAge. Can you suggest me what might be missing.

CacheFactory.createCache(cacheName, { storagePrefix: 'tmng.', deleteOnExpire: 'aggressive', maxAge: 2 storageMode: 'localStorage' }

Thanks, Raja K

cullsin avatar Oct 21 '17 02:10 cullsin