cache: Max cache size, and evict when the cache fills up