Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GZip or Deflate for HTTP compression

Which compression method is better? I've heard lots of back and forth about GZip being more widely used, but Deflate being faster (in some instances). Is there an accepted standard on which one to use and why?

like image 653
Scott Avatar asked Jan 18 '11 15:01

Scott


2 Answers

UPDATE

According to the latest updates to the linked question, one should use GZip. See http://www.vervestudios.co/projects/compression-tests/results

Old Answer

Deflate is better.

like image 197
eigenein Avatar answered Sep 25 '22 16:09

eigenein


Answers:

  • http://www.stardeveloper.com/articles/display.html?article=2008111201&page=1
  • http://blog.usweb.com/archives/mod_deflate-vs-mod_gzip-comparing-the-two/
  • Why use deflate instead of gzip for text files served by Apache?

Basically, deflate is faster, so if it's avaible to you, use it.

like image 25
yorah Avatar answered Sep 22 '22 16:09

yorah