fastapi-cache icon indicating copy to clipboard operation
fastapi-cache copied to clipboard

Feature request: granular cache invalidation

Open tworedz opened this issue 1 year ago • 2 comments

Hello there!

I want to propose a cache invalidation feature based on tags. It would be similar to Redux Toolkit query invalidation: https://redux-toolkit.js.org/rtk-query/usage/mutations#revalidation-example.

I am providing my initial implementation for this and would like to know if it is worth incorporating into this library.

I have already found similar issues, which I believe could be resolved as well: https://github.com/long2ice/fastapi-cache/issues/298 https://github.com/long2ice/fastapi-cache/issues/96

@long2ice can you please take a look?

tworedz avatar Jul 25 '24 07:07 tworedz