Trimming the cache


Trimming the cache

By default, if you don't use expiration and garbage collection, the cache will grow indefinitely as more data is written to it.

To prevent this, a few APIs are available: