Next.js Discord

Discord Forum

nextjs@canary cacheComponents/dynamicIO route handler issue

Unanswered
Pacific sand lance posted this in #help-forum
Open in Discord
Pacific sand lanceOP
while using cacheComponents/dynamicIO how can i cache route handler (GET in this case) with no wrapper/extra logic? exporting const dynamic results in build error (works in dev tho). do i miss something or there is no way to achieve that but to manually cache stuff?

0 Replies