Method decorator: invalidate cache after the method runs.
By default it deletes the key Class.method:<hash(args)>. Pass tags to invalidate a group, or
all: true to clear the store. The method always runs; invalidation happens on success. If the
cache module is not enabled, the method runs normally (graceful no-op).
Method decorator: invalidate cache after the method runs.
By default it deletes the key
Class.method:<hash(args)>. Passtagsto invalidate a group, orall: trueto clear the store. The method always runs; invalidation happens on success. If the cache module is not enabled, the method runs normally (graceful no-op).