Linux / Unix Curl: Find Out If a Website Is Using Gzip / Deflate Support | Linux Today

Linux / Unix Curl: Find Out If a Website Is Using Gzip / Deflate Support

Written By
A
Anonymous
Dec 23, 2015

When content is compressed, downloads are faster because the files are smaller – in many cases, less than a quarter the size of the original. This is very useful for JavaScript and CSS files (including html), faster downloads translates into faster rendering of web pages for end-user.

How do I find out if a web-page is gzipped or compressed using Linux or Unix command line utility called curl? How do I make sure mod_deflate or mod_gzip is working on Apache or Nginx web server running on a Unix-like system?

A

Anonymous

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.