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
feat: implement appDir
#90
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
📝 Changed routes:2 deleted routes:
Commit 59b7c4c (https://nextjs-blog-cms-sanity-v3-px1r941v9.sanity.build). |
Hi, with the cache control error that you listed as blocking, I was debugging the same error yesterday in my own project and I traced it down to a single |
@arduano in this case it's calling If you remove all the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code is looking really good!
Preview Deploy link
Blocked by:All Document/HTML requests are always missing cache, verify by looking atx-vercel-cache
which isMISS
but should beHIT
like it is on themain
.When in production (next build && next start
) andSANITY_REVALIDATE_SECRET
isn't set, an error is thrown when trying to view a post:Error: invariant: invalid Cache-Control duration provided: 0 < 1
When running locally (next dev
) the post pages throw this error:previewData
blockers worked around, revisit in #95 once Next 13 is shipping an updatedpreviewData()
mechanic.