next.js
7b48a1e2 - fetching logging on edge (#56108)

Commit
2 years ago
fetching logging on edge (#56108) Support fetching logging working with edge runtime. When you enable edge runtime and experimental logging config in `next.config.js` you should be able to see the data fetching logs like edge runtime ``` GET /default-cache 200 in 4304ms │ GET https://next-data-api-endpoint.vercel.app/api/random?no-cache 200 in 373ms (cache: SKIP) │ │ Cache missed reason: (cache: no-cache) │ │ GET https://next-data-api-endpoint.vercel.app/api/random?force-cache 200 in 163ms (cache: SKIP) │ │ │ Cache missed reason: (cache-control: no-cache (hard refresh)) │ │ GET https://next-data-api-endpoint.vercel.app/api/random?revalidate-0 200 in 196ms (cache: SKIP) ``` Closes #55495 Closes NEXT-1661
Author
Parents
Loading