Comprobar Gzip con curl

image of a linux terminal

Breve nota sobre como comprobar si la compresión Gzip está activada en nuestro website

Antes de activar la compresión

curl -H "Accept-Encoding: gzip" -k -s -i https://www.rubenortiz.es 2>/dev/null | head -n 13
HTTP/1.1 200 OK
Date: Sun, 16 Aug 2020 20:56:25 GMT
Server: Apache
Strict-Transport-Security: max-age=63072000; includeSubdomains; preload
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Link: https://www.rubenortiz.es/wp-json/; rel="https://api.w.org/"
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked

<!DOCTYPE html>
<html lang="en-US"
Continue reading “Comprobar Gzip con curl”