Next.js Discord

Discord Forum

revalidate based on response

Unanswered
Velvet ant posted this in #help-forum
Open in Discord
Velvet antOP
hi, i have an api that can return a header with a max cache duration value, but I am not sure how to set it to the fetch request as a next: { revalidate } value, is there a best practice for this problem?

0 Replies