Manage cache key for "use cache" directives #85829
Unanswered
edgar1824
asked this question in
App Router
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Custom cache key for "use cache" directives, or how to exclude specific property from including it in cache key
For example if i there is getProducts function which retrieves all products and shows in table and to access to it you need to use bearer token, but there is no need to include that token in cache key.
and also how to ignore unserializable property (argument or parent function properties) in cached functions? (functions using "use cache" directives)
Beta Was this translation helpful? Give feedback.
All reactions