next.js
7057d1eb - [PPR] Support rewrites in middleware (#63071)

Commit
2 years ago
[PPR] Support rewrites in middleware (#63071) ### What? This fixes a special case where rewrites wouldn't work when resuming a dynamic page. ### Why? Previously, as routes would direct-match against entries in the cache, this takes the `x-matched-path` as the source of truth for these requests if the `x-now-route-matches` header is not present.
Author
Parents
Loading