Next.js Discord

Discord Forum

Middleware rewrites serve stale static page

Somali posted this in #help-forum
Open in Discord
Vercel subdomain rewrites look like they are caching content. I have a setup similar to (with pages directory), and subdomain rewrites are serving different content than from visiting the path. For example, is serving old content, and is serving the valid new content.
Not sure what the issue is since subdomains are rerouted to the /_sites/[subdomain] path, so they should be serving the same content.

0 Replies