FusionCache
FusionCache copied to clipboard
[FEATURE] Invalidation in future?
Problem
When having a lot of situations that can invalidate the same cache entry, this means that a lot of factory executions are needed, which can cause a huge load on the database.
Solution
I would like to be able to invalidate the cache 'in the future'. For example you want to invalidate the cache in 5 minutes. In this 5 minutes window, when other requests/services are invalidating the same key, it will already be scheduled for over 5 minutes. This means that at max every 5 minutes the factory will be called onces.
Is this an already existing feature which I overlooked?
Alternatives
Any workaround is also fine for me :)