Link Details

Link 134153 thumbnail
User 49467 avatar

By fk49408
via stardeveloper.com
Published: Nov 15 2008 / 15:35

Gzip and Deflate are two popular HTTP compression methods. I ran a test in C# to figure out which one is faster and by how much. Read this article to see which won the speed test and how to implement Gzip and Deflate HTTP compression in your website.
  • 6
  • 2
  • 1593
  • 463

Comments

Add your comment
User 354152 avatar

Computer.Linguist replied ago:

0 votes Vote down Vote up Reply

Wow... this is dumb. Of *course* Deflate is faster than Gzip. Gzip is Deflate plus CRC checks.... It's a speed/reliability tradeoff.
I think I'll take the safer, 20% slower gzip, thank you very much....

User 49467 avatar

Faisal Khan replied ago:

0 votes Vote down Vote up Reply

@Computer.Linguist,

That is the point of the article: Deflate is faster. Now the question is why Gzip? You say reliability. Can you describe that in the context of compressed content being sent over internet? How is deflate unreliable if there are no CRC checks? Uncompressed HTML content is not CRC checked, does that make HTML content unreliable too? Please explain.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.