My Next.js loading.tsx moved every page's content into a hidden div after the footer A developer running the Next.js travel eSIM comparison site eSIMLane found that a single app/[locale]/loading.tsx file caused every prerendered page to ship as a Suspense skeleton in
with the real content streamed into a hidden div after the footer, and deleting the file restored content directly inside
across all 957 prerendered HTML files. The developer also cut page weight by replacing 759 repeated inline SVG icons and Tailwind class strings with a single component-layer class, noting that App Router static pages send markup twice as HTML and RSC payload. I run eSIMLane https://esimlane.com , a travel eSIM price comparison site built with Next.js App Router and deployed to Cloudflare Workers via OpenNext. It has around 1,150 prerendered pages. When I checked my analytics, ChatGPT turned out to be my main source of real visitors, while Google sent almost nobody. Since AI assistants matter that much to me, I fetched a few pages the way a simple crawler would plain HTTP, no JavaScript and read the raw HTML. Inside