-
Notifications
You must be signed in to change notification settings - Fork 87
[Bug]: appDir pages not varying cache on RSC header #1844
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
Comments
Does this happen with a browser or just Postman? That content is the React Server Components streaming updates |
It happens in both scenarios, I noticed this bug because I kept downloading stuff when I’m trying to access the site, then I tested with postman. |
Could you try updating the runtime to |
Updated to 4.29.4, the issue still exists. |
I think I have a diagnosis for this. I'm going to rename this and merge with an issue that's kind've the opposite, but a manifestation of the same problem. |
Summary
I tried fetching in Postman and sometimes Netlify will make user download a file with following content: https://pastebin.com/raw/QMZ7wVuB
which I assume is Next.js's server component props
Steps to reproduce
View the site
A link to a reproduction repository
https://github.com/Enime-Project/enime.moe/tree/next
Next Runtime version
4.29.3-appdir.0
More information about your build
netlify.toml
)What OS are you using?
None
Your netlify.toml file
`netlify.toml`
# Paste content of your `netlify.toml` file here
Your public/_redirects file
`_redirects`
# Paste content of your `_redirects` file here
Your
next.config.js
file`next.config.js`
# Paste content of your `next.config.js` file here. Check there is no private info in there.
Builds logs (or link to your logs)
Build logs
Function logs
Function logs
.next JSON files
generated .next JSON files
The text was updated successfully, but these errors were encountered: