- 🇬🇧United Kingdom catch
Duplicate of 📌 Add auto-refresh/quasi-LRU to database backend Active (yes I opened both within a couple of weeks of each other).
#2526150: Database cache bins allow unlimited growth: cache DB tables of gigabytes! → introduces a limit on items in the database cache, deleting the oldest cache entries in the table that go over the limit.
An issue here is that the oldest entries may well include ones requested on every page, because they're going to be amongst the first entries in the bin, this could result in entries being constantly deleted and recreated.
We could improve this by re-saving cache items with an updated created timestamp when they're requested - since this is a database write it can't be every time, but it could be done 1/1000 cache requests or so (if a page has 100 cache entries retrieved, it means about one write in ten page requests). This adds some complexity so adding it as a follow-up, but it might be necessary if sites see bad side-effects from the original patch.
Closed: duplicate
11.0 🔥
cache system
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Duplicate of 📌 Add auto-refresh/quasi-LRU to database backend Active (yes I opened both within a couple of weeks of each other).