Skip to content

Cache invalidation on Index (HomeController) #1

Description

@rd003

I have added in-memory cache in index of home controller. But I don't know how to apply cache invalidation for it. Since cache key is : $"Book-{sTearm}-{genreId}", we can have many cache entries based on this combination and its hard to retrieve this cache key during add/update/delete action of book. Either I have to change the caching strategy or find a solution. I am leaving it for future.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions