RevealTheme logo

Test di compressione gzip / brotli

Verifica se un URL serve risposte compresse (gzip o brotli).

Come usare questo strumento

  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.

Che cos'è il Test di compressione gzip / brotli?

La compressione riduce la dimensione di trasferimento tra il 60 % e l'80 % per i contenuti di testo (HTML, CSS, JS, JSON). Brotli (presentato nel 2015) supera gzip; i server moderni supportano entrambi e scelgono il migliore in base all'intestazione Accept-Encoding. Questo strumento verifica se il suo server è configurato correttamente.

Casi d'uso comuni

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

Domande frequenti

Perché il mio sito non è compresso?
Di solito è un problema di configurazione del server. Apache ha bisogno di mod_deflate; Nginx ha bisogno di gzip_on. LiteSpeed lo offre attivato per impostazione predefinita.
La compressione aiuta con le immagini?
In misura marginale: le immagini (JPEG/WebP) sono già compresse. La compressione aiuta soprattutto i contenuti basati su testo.

Strumenti correlati