Skip to content

Selector added or updated. Invalidating cache. #1312

Description

@philayres

Invalidating cache in SelectorCache appears to slow down app startup, app imports and general configurations due to the large number of selectors being saved.

We need to find a way to avoid invalidating the whole cache for each classification config entry added.

Things to consider:

  • the cache is just unnecessary
  • the cache keys can be namespaced, so we can just delete the specific keys
  • possibly we can simply memoize results

Related to issue #423

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions