Next.js Discord

Discord Forum

How to cache function in Next.js dynamic Route

Unanswered
Atlantic mackerel posted this in #help-forum
Open in Discord
Original message was deleted.

2 Replies

Original message was deleted
This will cache the route not the function
Use unstable_cache to cache a function, otherwise fetch to your own api to cache a function