Next.js · Senior · Question 14 of 75

Which runtime does proxy.ts use in Next.js 16?

Explanation

In Next.js 16, proxy always runs on Node.js: familiar libraries and APIs are available. If you specifically need the edge runtime, stay on the deprecated middleware for now. The runtime of routes (pages, Route Handlers) is still configured separately.

Further reading

Problem with a question

Next.js · Senior · question 14

Test yourself

Take the Next.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz