Commit b6253c8
committed
feat(vercel): add Vary: accept so CDN serves markdown to agents
The existing Accept: text/markdown rewrite was being masked by Vercel's
CDN caching the first variant (HTML) and serving it for all subsequent
requests regardless of Accept header. Advertising Vary: accept lets the
CDN cache HTML and markdown as separate entries so agents actually get
markdown back.1 parent 6757ff2 commit b6253c8
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
0 commit comments