Setting the file. One moment.
Subchapter 7.17
references/support-topics/astro-edge-middleware-scope.mdMarkdown1012 BView on GitHub
Astro middleware can run at the edge for broad request sets. If middleware volume is high, prove which paths actually need interception.
Use middleware invocation share and top paths. Inspect adapter middleware mode, middleware source, auth/redirect logic, and whether static assets, prerendered pages, or public pages are being intercepted.
Do not bypass required auth, locale, header, or routing logic. Do not move global middleware work into every page when the current scope is already minimal.
Name the middleware share, dominant paths, current middleware mode, and exact source or config line to narrow.