Optional
Optional filter function to determine if an item should be cached. Returns true to cache the item, false otherwise.
true
false
Optional maximum cache size. If not set, the cache is unlimited.
Optional filter function to determine if an item should be cached. Returns
true
to cache the item,false
otherwise.