Stack playbook · Snapshot 23 October 2026
Next.js: readiness playbook
What 2,897 measured sites on this platform or framework get right, where they fall short, and the Next.js-specific steps that close each gap.
- Sites measured
- 2,897
- Median readiness index
- 70/100
- Profiles on this stack
- 1,835
detected from homepage HTML and headers
all sites: 64
top-50K sites
Readiness by lane
Enable
86/100
All sites 77
Harden
61/100
All sites 56
Accelerate
72/100
All sites 64
Recover
8/100
All sites 10
The Next.js playbook
Gaps ordered by impact, with the platform-specific step where one exists.
security.txt published
10% observed · all sites 7.1%
Publish /.well-known/security.txt with at least Contact and Expires fields, as RFC 9116 requires, and review it before it expires.
HSTS kept for at least a year
51% observed · all sites 34%
Send Strict-Transport-Security on HTTPS responses. Start with a short max-age (for example 300 seconds), confirm every subdomain works over HTTPS, then raise it in steps to 31536000. Add includeSubDomains only when all subdomains are HTTPS. HSTS preload is optional and hard to undo; hstspreload.org itself does not recommend it by default.
On Next.js: Add the header in the headers() option of next.config.js for all routes.
CAA records limit who can issue certificates
17% observed · all sites 13%
Publish CAA records naming every CA you actually use, including the CAs your CDN uses for managed certificates. Add an iodef contact if you want reports.
No render-blocking scripts in <head>
36% observed · all sites 48%
Add defer to scripts that need the DOM, async to independent ones such as analytics, or move them to the end of the body.
On Next.js: Use the next/script component with an appropriate loading strategy.
Guide: Control Third-Party Scripts Before They Control Your Page
Modern image formats in use
47% observed · all sites 40%
Serve WebP or AVIF with a JPEG or PNG fallback, either through an image CDN or by generating both formats at build time.
On Next.js: The next/image component serves optimized formats automatically.
Guide: AVIF, WebP, JPEG, and PNG: Choose the Right Image Format
DNSSEC signed
7.4% observed · all sites 8%
Enable DNSSEC at your DNS provider, then add the DS record at your registrar. Plan provider moves carefully: a stale DS record can make the domain fail to resolve.
Guide: Website Uptime Readiness: Prepare Before Traffic Arrives
DMARC policy enforces quarantine or reject
55% observed · all sites 39%
Publish DMARC with p=none and a reporting address first, fix any legitimate senders that fail SPF or DKIM alignment, then move to quarantine and finally reject.
HTTP/3 advertised
35% observed · all sites 37%
Turn on HTTP/3 at your CDN. Browsers fall back to HTTP/2 automatically, so the risk is low.
Where Next.js sites lead
- Static files cached for 30 days or more79% observedall sites 51%
- Offscreen images lazy-loaded90% observedall sites 62%
- robots.txt published93% observedall sites 76%
- HSTS kept for at least a year51% observedall sites 34%