You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ability to cache a method based on the function parameters to that method is extremely useful. However, at the moment, if I need to invalidate the cache for a specific set of arguments, I have to clear the entire cache for that method.
Are there any future plans for allowing individual sections of the cache to be cleared based on method parameters?
The text was updated successfully, but these errors were encountered:
No current plans, but it should be a simple addition. It just requires adding optional parameters to the clear_cache function and have it clear param-specific entries if these are provided. It's just a matter of someone stepping up and providing a code contribution implementing this feature. :)
I'd love for you to open a PR, if you think you can spare the time!
The ability to cache a method based on the function parameters to that method is extremely useful. However, at the moment, if I need to invalidate the cache for a specific set of arguments, I have to clear the entire cache for that method.
Are there any future plans for allowing individual sections of the cache to be cleared based on method parameters?
The text was updated successfully, but these errors were encountered: