unstable_cache behavior
Unanswered
Giant resin bee posted this in #help-forum
Giant resin beeOP
I want to confirm that, unstable_cache depends on the key array that we pass in second argument, if key array is same, nextjs will not call the function(first argument) and will return the last returned value of function that is wrapped in unstable_cache with same keys array.
6 Replies
Giant panda
I am also trying to figure out how to use it appropriately and confirm it works. Have you figured it out
@Giant panda I am also trying to figure out how to use it appropriately and confirm it works. Have you figured it out
Giant resin beeOP
No, but i figured it out that it doesn't work at all during build step.
@Giant resin bee I made a discussions post abt it
Check it out and ping me if you have questions
@Giant panda since you were confused abt it as well