RevealTheme logo

Test kompresji Gzip / Brotli

Sprawdź, czy dany adres URL udostępnia skompresowane odpowiedzi (gzip lub brotli).

Jak korzystać z tego narzędzia

  1. 1

    Paste the full URL you want to check, including the https:// scheme.

  2. 2

    Submit the form to have our server request that URL.

  3. 3

    Read the result card: it shows the Content-Encoding value (such as gzip or br) and whether compression was detected.

  4. 4

    Adjust your server configuration if the card reports no compression, then re-run the check.

Czym jest test kompresji Gzip / Brotli?

Kompresja zmniejsza rozmiar transferu o 60% do 80% w przypadku treści tekstowych (HTML, CSS, JS, JSON). Brotli (wprowadzony w 2015 roku) przewyższa gzip; nowoczesne serwery obsługują oba i wybierają lepszy na podstawie nagłówka Accept-Encoding. To narzędzie sprawdza, czy Twój serwer jest poprawnie skonfigurowany.

Typowe przypadki użycia

  • Confirm that a newly deployed Nginx or Apache config is actually emitting gzip or brotli on your homepage.

  • Verify a CDN such as Cloudflare or Fastly is compressing HTML responses at the edge.

  • Spot-check an API endpoint that returns large JSON to see whether it is being compressed in transit.

  • Diagnose a slow page by ruling compression in or out before digging into other performance causes.

  • Check whether a specific path (not just the root) is served compressed when rules differ per route.

  • Demonstrate to a client or teammate, with a shareable result, that their pages are or are not compressed.

Najczęściej zadawane pytania

Dlaczego moja witryna nie jest skompresowana?
Zwykle to problem z konfiguracją serwera. Apache wymaga mod_deflate; Nginx wymaga gzip_on. LiteSpeed ma to włączone domyślnie.
Czy kompresja pomaga w przypadku obrazów?
Marginalnie: obrazy (JPEG/WebP) są już skompresowane. Kompresja pomaga przede wszystkim w treściach tekstowych.

Powiązane narzędzia