Hi,
As of today, the cache is mainly updated on an endpoint request if some parameters have changed, and if the cache TTL is over.
But this either comes from a request (which might be always the same, with the same params, auth token, ...) or because of TTL, but never because the data has been modified.
What would be interesting is, as there's an endpoint reference list for each table, to mark the cache to be updated IF a table used in this endpoint has been modified, and then independently from request or TTL, the cache would be updated.
My use case is the following:
i have many parameters table. They don't very often change. So i put them in cache. But i may sometimes change their content or add or remove records (for the bubblers, it would be the equivalent of Option Sets). Then i have to remember to remove the cache, make an external call, put the cache back, etc.
Update cache when Data used in an endpoint is modified
2
2 replies