← All topics
nextjs
3 pieces
Other
600 File Reads to Serve One Article
A content loader that reads the entire collection to find a single document, what it costs at realistic scale, and the four-line fix that also opened a path-traversal hole
Verified · 4 min
A Nonce Is Not a Security Upgrade If Your Pages Are Static
How a textbook-perfect Content-Security-Policy shipped a site with every script blocked, while every gate stayed green
Verified · 5 min
Your Prerendered Pages Return 404 on Cloudflare Workers
A Next.js dynamic route builds as SSG, deploys without error, and 404s in production. The cause is one missing line of configuration, and nothing in the build will tell you.
Verified · 5 min