TanStack Start ISR in Vercel #6369
Unanswered
agustinusnathaniel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was looking through the ISR documentation https://tanstack.com/start/latest/docs/framework/react/guide/isr
Then I tried to follow the guide
But after I tried to deploy it on Vercel, it stay static forever (not re-render updated static page after max age duration)
Then I tried disabling the prerender config and just adding cache-control, and it works as expected
Is this expected? On vercel we can only rely on the cache-control header (can't combine it with static prerendering)?
If that's the case, I think the docs should be updated to add notes on combining it with prerendering that it won't work on Vercel.
Beta Was this translation helpful? Give feedback.
All reactions