Feature request: ExpireNow
Opened this issue · 4 comments
Fonta commented
Could you make a function to expire a cache right now in stead of waiting for the maxage?
I'm asking this because I would like to have an option to start the onExpire process.
So it would look like this:
CacheFactory.get('cachedStuff').expireNow();
luizotcarvalho commented
+1
tj-recess commented
Would Cache#removeAll() do the same thing?
Fonta commented
@tj-recess Removeall doesn't trigger the onexpire process.
sanyesz123 commented
+1