2. About me
ā¢ PHP/Symfony2 developer at
ā¢ PHP 5.3 Zend Certified Engineer
ā¢ Symfony Certified Developer
ā¢ BS in Computer Science. Ms(Res) student in
Computing Technologies.
ā¢ Open source: LadybugPHP
3. What is GZIP?
ā¢ GZIP is a lossless compression method,
we can recover the original data once
decompressed.
ā¢ It has become the de-facto lossless
compression method for compressing
textual data in websites.
5. How it works?
ā¢ It is based on the DEFLATE algorithm,
which is a combination of LZ77 and
Huffman coding.
ā¢ First, the LZ77 algorithm replaces repeated
occurrences of data with references.
ā¢ Second, Huffman coding assigns shorter
codes to more frequent ācharactersā.
6. How it works?
This file is huge! That's because the file is not compressed
<33, 9>
LZ77
8. Why GZIP?
ā¢ GZIP is not the best compression method,
but there are a few good reasons to use it.
ā¢ Provides a good tradeoff between speed
and ratio.
ā¢ Difļ¬culty to add newer compression
methods.