@cabbey The Array adapter for symfony/cache has an LRU setting in terms of number of entries.
https://symfony.com/doc/current/components/cache/adapters/array_cache_adapter.html
If you're wanting to do it in terms of memory usage, it might be possible to write a custom adapter for that.
=> More informations about this toot | View the thread | More toots from elazar@phpc.social
=> View cabbey@phpc.social profile
text/gemini
This content has been proxied by September (3851b).