proxy — rewrite target

You are looking at /proxy/rewrite-target. If the address bar says /proxy/rewrite-me, the proxy rewrote the request and the browser was never told.

A rewrite is server-side only. A redirect changes the URL and costs the client an extra round trip; a rewrite does neither.

What to check

Compare the two: curl -sI localhost:3000/proxy/rewrite-me | grep -i x-proxy against curl -sI localhost:3000/proxy/rewrite-target | grep -i x-proxy. The first reports branch: rewrite and the pre-rewrite path.

Then check the status codes — curl -so /dev/null -w '%{http_code}' on both gives 200, where /proxy/redirect-me gives 307.

What the render received

Proxy context

suspense fallback

streaming at request time — this is what ships in the static shell