Skip to content

Clear Redis Cache after reingest #61

@vgeorge

Description

@vgeorge

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:

  1. Implement a admin route to flush all Redis cache;
  2. Add ingestedAt to the model record and do not return cached values if ingestedAt > timestamp of query cache.

Any thoughs, @danielfdsilva?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions