Warum ist das wichtig?
HTTP/2 loads multiple files simultaneously over one connection (multiplexing), dramatically reducing load time compared to HTTP/1.1. HTTP/3 (QUIC) is even faster on mobile networks.
Wie beheben Sie es?
Enable HTTP/2 on your web server (requires HTTPS). Nginx: http2 parameter to the listen directive. Apache: mod_http2 module. Cloudflare supports HTTP/2 and HTTP/3 automatically.
Dieser Check bewertet von 0 bis 100. Unter 50 ist ein Fail, 50 bis 89 eine Warnung, 90 oder höher ist gut. Nach jedem Crawl sehen Sie die Note pro Seite im Report, mit einer kurzen Erklärung.
Häufige Fragen
Checks if the server supports HTTP/2 or HTTP/3.
HTTP/2 loads multiple files simultaneously over one connection (multiplexing), dramatically reducing load time compared to HTTP/1.1. HTTP/3 (QUIC) is even faster on mobile networks.
Enable HTTP/2 on your web server (requires HTTPS). Nginx: http2 parameter to the listen directive. Apache: mod_http2 module. Cloudflare supports HTTP/2 and HTTP/3 automatically.
Beispiel
Kopieren Sie den Code unten und passen Sie Domain, Markenname und Inhalt an Ihre Situation an.
# Nginx: enable HTTP/2 (requires HTTPS)
server {
listen 443 ssl http2;
server_name www.yourdomain.com;
ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
# HTTP/3 (QUIC) - optional but recommended
listen 443 quic reuseport;
add_header Alt-Svc 'h3=":443"; ma=86400';
}
# Cloudflare automatically enables HTTP/2 and HTTP/3