Closed guybedford closed 2 years ago
It would be useful to have a cache pruning API that is more than just a global clear cache.
A pruning API might remove based on some rules:
Perhaps these are clearCache arguments:
clearCache
clearCache({ maxAccessTime: 400 }); // seconds clearCache({ maxSize: 500 }); // MB
It would be useful to have a cache pruning API that is more than just a global clear cache.
A pruning API might remove based on some rules:
Perhaps these are
clearCache
arguments: