F3 docs: HTML pages keep Next's own Vary and their ISR caching (measured on the built reference site, both bundlers); the private, no-store Markdown answer is what closes F3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
631c583fa3
commit
dcf820b365
@@ -63,8 +63,8 @@ type CreateProxyOptions = {
|
||||
* redirect — /md/pl/o-nas must not become /pl/md/pl/o-nas), and a page
|
||||
* requested with `Accept: text/markdown` is rewritten to its Markdown version.
|
||||
*
|
||||
* The negotiated answer shares the page's URL, so it is sent `private, no-store` with `Vary: Accept` (and the
|
||||
* pages under the matcher get `Vary: Accept`): a cache in front never stores the Markdown as the page (security
|
||||
* The negotiated answer shares the page's URL, so it is sent `private, no-store` with `Vary: Accept` (the proxy
|
||||
* also asks for `Vary: Accept` on pages, but a Next page keeps Next's own `Vary`): a cache in front never stores the Markdown as the page (security
|
||||
* audit 2026-12, F3). `/md/…` itself keeps its public caching. The object form adapts it:
|
||||
* `{ prefix?: string, negotiate?: boolean }` — `negotiate: false` serves Markdown only at `/md/…`.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user