GZIP validation inside WHM
I have set GZIP validation and need to know if this can be executed inside terminal as Linux command:
curl -X HEAD -I -sH 'Accept-encoding: gzip' Example Domain | grep content-encoding |
-
Hi toplisek, Yes, those curl commands can be executed in the terminal to see the site is enabled with GZIP and brotli compression. Also you could find of online checkers to find the compressions enabled in the site/server. Thanks. 0 -
I have tested and it is without any result for the above query inside account. 0 -
curl -X HEAD -I -sH 'Accept-encoding: gzip' Example Domain | grep -i content-encoding
and it is obvious that content-encoding is not matching Content-Encoding.0 -
@toplisek, as ecartz said yes it seems you haven't added '-i' option in grep that will ignore cases, else you have simply add it as grep Content-Encoding or grep -i content-encoding. 0 -
It works but I guess Pingdom Tools reports FALSE signal as GZIP shows 45/100 and after all tests cPanel works fine without any issue. 0
Please sign in to leave a comment.
Comments
5 comments