angular-cache
angular-cache copied to clipboard
What is the difference between maxAge and cacheFlushInterval?
Hey guys, Can anybody tell me exactly what's the difference between maxAge and cacheFlushInterval ?
cacheFlushInterval delete everything in the cache at once, on an interval. maxAge represents how long individual items can be in the cache until their expire. The cache's behavior toward expired items is determined by the deleteOnExpire setting.
@jmdobry forgot to say thank you, I appreciate it even a year after :)