Open Fonta opened 8 years ago
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();
+1
Would Cache#removeAll() do the same thing?
@tj-recess Removeall doesn't trigger the onexpire process.
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();