Skip to content

GraphQL query responses caching in production #1846

Closed Answered by blakewilson
stalgiag asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @stalgiag thanks for your comment and illustrating what you've already tried.

What you are likely running into is the Next.js revalidate cache. By default, we have a 900 second (15 minute) revalidate set on all Faust template routes. This is to ensure requests to the actual WordPress server are minimized.

You can modify this setting here:
https://faustjs.org/reference/getwordpressprops#configuration

Here's some more info on Incremental Static Revalidation in Next:
https://nextjs.org/docs/pages/building-your-application/data-fetching/incremental-static-regeneration

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@stalgiag
Comment options

Answer selected by stalgiag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants