Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
"no-cache" | revalidate: 0 breaks site in production - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
KingKorai
"no-cache" | revalidate: 0 breaks site in production
As title say
,
"no
-cache
" and
"revalidate
: 0
" breaks site in production
, on local it works fine
. Also
, setting it to something like
"revalidate
: 5
" works
.
Repo
:
https://github.com/Apestein/nextflix/blob/bug-branch/src/app/page.tsx
And as you can see the website has 404 error
, it gives no error during build time
https://nextflix-8xfr94may-apestein.vercel.app/
This deployment uses revalidate
: 5 and as you can see it works
:
https://nextflix-blush.vercel.app/
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to revalidate the data cache on deployment
TTC
Theo's Typesafe Cult / questions
2y ago
Revalidate prisma query in `page.ts` RSC
TTC
Theo's Typesafe Cult / questions
3y ago
how to revalidate data?
TTC
Theo's Typesafe Cult / questions
3y ago
revalidate trpc call every 1h
TTC
Theo's Typesafe Cult / questions
3y ago