Does Next.js rewrites call count workers request?

Does Next.js rewrites call count workers request?
1 Reply
James
James15mo ago
Yes. All incoming requests will count as a worker invocation as the type of worker we use handles all requests so that they go through the routing system. The exception to this is /_next/static, which we exclude from invoking the worker by default. For info about excluding other static assets (like favicon.ico), check out https://github.com/cloudflare/next-on-pages/blob/main/packages/next-on-pages/docs/static-assets-routing.md
GitHub
next-on-pages/packages/next-on-pages/docs/static-assets-routing.md ...
CLI to build and develop Next.js apps for Cloudflare Pages - cloudflare/next-on-pages
Want results from more Discord servers?
Add your server