Next.js Discord

Discord Forum

Any Drawbacks to Using "use cache" in Next.js 15?

Unanswered
Britannia Petite posted this in #help-forum
Open in Discord
Avatar
Britannia PetiteOP
Hi everyone!

Are there any potential drawbacks or limitations to using use cache in Next.js 15? I'd appreciate any insights or experiences you can share.

Thanks!

2 Replies

Avatar
@Britannia Petite Hi everyone! Are there any potential drawbacks or limitations to using use cache in Next.js 15? I'd appreciate any insights or experiences you can share. Thanks!
Avatar
yes, it's currently very new and highly unstable. You may run into unsolveable errors and very weird issues. If you need to cache your third party, you should use unstable_cache. Yes, it's unstable as well, but it's way more integrated in all the nextjs things and way more stable compared to the "use cache" directive
Avatar
@Britannia Petite solved?