RevealTheme logo

Uji Kompresi Gzip / Brotli

Periksa apakah sebuah URL menyajikan respons yang dikompresi (gzip atau brotli).

Cara menggunakan alat ini

  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.

Apa itu Uji Kompresi Gzip / Brotli?

Kompresi mengurangi ukuran transfer antara 60 % dan 80 % pada konten teks (HTML, CSS, JS, JSON). Brotli (diperkenalkan pada 2015) mengungguli gzip; server modern mendukung keduanya dan memilih yang terbaik berdasarkan header Accept-Encoding. Alat ini memeriksa apakah server Anda dikonfigurasi dengan benar.

Kasus penggunaan umum

  • 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.

Pertanyaan yang sering diajukan

Mengapa situs saya tidak dikompresi?
Biasanya ini adalah masalah konfigurasi server. Apache membutuhkan mod_deflate; Nginx membutuhkan gzip_on. LiteSpeed mengaktifkannya secara default.
Apakah kompresi membantu pada gambar?
Hanya sedikit: gambar (JPEG/WebP) sudah dikompresi. Kompresi terutama membantu konten berbasis teks.

Alat terkait