Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cache revalidation for nextjs #18

Merged
merged 3 commits into from
Apr 16, 2024
Merged

Conversation

thibaultleouay
Copy link
Contributor

When we want to revalidate cache for a specific fetch request we need to pass the next.revalidate options

https://nextjs.org/docs/app/api-reference/functions/fetch#optionsnextrevalidate

@chronark chronark merged commit 3dc0833 into chronark:main Apr 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants