Commit dd50bbe
committed
docs(i18n): note that cookie-based locale forces dynamic rendering
Reading cookies()/headers() in the request config makes translated
server content request-dependent, which rules out static generation/ISR
on those routes (the reason discover/[from] dropped generateStaticParams).
Documents the locale-prefixed routing + setRequestLocale refactor as the
path back to SSG if perf regresses.1 parent 537f2ad commit dd50bbe
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
0 commit comments