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

Turbo monorepo next-plugin-preval response always cached #109

Open
pierremouchan opened this issue Mar 21, 2023 · 0 comments
Open

Turbo monorepo next-plugin-preval response always cached #109

pierremouchan opened this issue Mar 21, 2023 · 0 comments

Comments

@pierremouchan
Copy link

Hello there,

Here is my tech stack:

  • NextJS
  • next-plugin-preval
  • Turbo
  • Vercel
  • Prismic

I am working in a monorepo context and facing an issue with the cache of next-plugin-preval. I am using Prismic as a CMS, and when the client hits the deploy button, Vercel rebuilds the website and uses the Turbo cache if needed, which is what I want.

However, the problem I'm facing is that the preval data is cached by Turbo and not detected as a change when we update its data.

Has anyone faced this issue before, and does anyone know of any workarounds?

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

No branches or pull requests

1 participant