Currently, the Redis cache is set to live for week. If a model update or scenario reingest is made, there will be no changes on the Explorer until the cache is expired. I can think of two approaches to fix this:
- Implement a admin route to flush all Redis cache;
- Add
ingestedAt to the model record and do not return cached values if ingestedAt > timestamp of query cache.
Any thoughs, @danielfdsilva?
Currently, the Redis cache is set to live for week. If a model update or scenario reingest is made, there will be no changes on the Explorer until the cache is expired. I can think of two approaches to fix this:
ingestedAtto the model record and do not return cached values ifingestedAt> timestamp of query cache.Any thoughs, @danielfdsilva?