🔥 Feature: Add max size to cache
Before touching docs: are we sure we'll count entries and not bytes?
The problem with bytes is that this is only an estimation. We should somehow account for internal values. For example, If the user stores entries in an external storage or the values are just very small, then the internal structures will blow up in size. That value would be an "upper bound on everything" no matter how and where it is stored.
Will look tomorrow again more closely and answer