Linux Today: Linux News On Internet Time.





More on LinuxToday


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

Dec 23, 2015, 04:00 (0 Talkback[s])
(Other stories by Anonymous)

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?

Complete Story