STATUS IS UPWEBSITE READINESS

Readiness check · Harden lane · weight 7

HSTS kept for at least a year

The homepage sends Strict-Transport-Security with max-age of at least 31536000 seconds (one year).

Observed on
34%

of 28,784 measured sites

Top 1K sites
48%

286 measured

Top 1M band
26%

4,672 measured

Not measured
11,311

blocked, challenged or not applicable

Why it matters

HSTS tells browsers to use HTTPS for your host on every later visit, which removes the window where a first HTTP request can be intercepted.

How to fix it

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.

How we check

The homepage sends Strict-Transport-Security with max-age of at least 31536000 seconds (one year).

Observed: HSTS present with max-age of one year or more.

Not observed: HSTS missing or set below one year.

Limit: Read from the homepage response only; other pages or regions may send different headers.

Stack-specific steps

  • Cloudflare: Enable HSTS under SSL/TLS > Edge Certificates > HTTP Strict Transport Security and raise max-age gradually.
  • Amazon CloudFront: Attach a response headers policy with Strict-Transport-Security to each distribution.
  • Next.js: Add the header in the headers() option of next.config.js for all routes.
  • Fastly: Add the header in VCL or a header rule as described in Fastly's HSTS guide.
  • Azure Front Door/CDN: Add a response header action in a Front Door rule set.
  • Vercel: Declare the header in the headers section of vercel.json.

By popularity band

Chrome UX Report bandObservedMeasured
Top 1K48%286
Top 5K39%1,308
Top 10K40%1,648
Top 50K35%12,853
Top 100K36%3,896
Top 500K34%4,121
Top 1M26%4,672

Categories most likely to do this

Categories least likely

By stack

By provider

Popular sites where we observed this

Sources and guides