rsnext/packages
Wyatt Johnson 2da04af2e8
Partial Pre Rendering Headers (#59447)
This fixes some of headers (and adds associated tests) for pages when
PPR is enabled. Namely, the `Cache-Control` headers are now returning
correctly, reflecting the non-cachability of some requests:

- Requests that postpone (dynamic data is streamed after the initial
static shell is streamed)
- Requests for the Dynamic RSC payload

Additionally, the `X-NextJS-Cache` header has been updated for better
support for PPR:

- Requests that postpone no longer return this header as it doesn't
reflect the cache state of the request (because it streams)
- Requests for the Prefetch RSC now returns the correct cache headers
depending on the segment and pre-postpone state

This also enables the other pathnames in the test suites 🙌🏻 

Closes NEXT-1840
2023-12-14 13:14:06 -07:00
..
create-next-app v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
eslint-config-next v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
eslint-plugin-next v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
font v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
next Partial Pre Rendering Headers (#59447) 2023-12-14 13:14:06 -07:00
next-bundle-analyzer v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
next-codemod v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
next-env v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
next-mdx v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
next-plugin-storybook v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
next-polyfill-module v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
next-polyfill-nomodule v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
next-swc Fix useOptimistic in server components bug. Add tests for invalid React server APIs (#59621) 2023-12-14 21:09:41 +01:00
react-dev-overlay v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
react-refresh-utils v14.0.5-canary.12 2023-12-13 23:22:15 +00:00
third-parties v14.0.5-canary.12 2023-12-13 23:22:15 +00:00