cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
888
Views
0
Helpful
2
Replies

ACE Compression Query (deflate / gzip)

Steev112
Level 1
Level 1

                  HI,

i have one query what the difference between compress default-method  ( deflate / gzip ), and if you can give an example when we can use deflate or gzip?

Thanks

2 Replies 2

Cesar Roque
Level 4
Level 4

HI Steven,

this may be useful:

Deflate is a compression method and compressed data format.  It can be  called a "raw" compressed data format, since there is no additional information in a deflate stream such as file names, lengths, check values, etc.  There are not even magic bytes at the start so you can recognize it as a deflate stream.  It is simply the encoding of a string of bytes.  The deflate format is self-terminating, so when decoding, you know when to stop without having an input length.

gzip is a wrapper for the deflate format.  It provides those missing items mentioned, such as magic bytes, file name, modification time, and check values with header and trailer bytes around a deflate stream.  Currently gzip only allows the deflate compression method. Only one deflate stream can be present in a gzip stream, and so effectively can represent only one file.

---------------------
Cesar R
ANS Team

--------------------- Cesar R ANS Team

HI Cesar,

Thanks alot for the bove information, now i understood between them.

thanks,

Steven

Review Cisco Networking for a $25 gift card