Next.js Discord

Discord Forum

fetch specified "cache: default" and "revalidate: 3600"

Unanswered
Boreal Chickadee posted this in #help-forum
Open in Discord
Boreal ChickadeeOP
I have default fetch options of no-cache in nextjs-apollo but on a particular route I want to revalidate 3600.

fetch for http://localhost:8080/v1/graphql on /forum specified "cache: default" and "revalidate: 3600", only one should be specified.


Is there a compatible cache key that works with revalidate, or do I have to remove it entirely?

0 Replies