- Issue created by @geek-merlin
- 🇨🇭Switzerland berdir Switzerland
ChainedFastBackend is meant for bins that are read often and rarely written.
On most sites, the fact that it invalidated all local storages on any cache tag invalidation was a much bigger issue and that has been changed now in 🐛 ChainedFastBackend invalidates all items when cache tags are invalidated Fixed .
When used on the proper bins and there's no misbehaving code (that does stuff like write config on any/many requests), invalidate-on-save is far more efficient than cache tags, which literally are "high-cost coordination-beween-webheads logic", as they require an extra query on every cache get.
Also somewhat related, the redis project now includes an integration with the relay php extension, which includes a native implementation that also listens on changes in redis and updates itself and therefore removes the need for the invalidate-on-save.