Q:

How does the GZip algorithm work? 

How does the GZip file compression algorithm work?  If anyone has any documentation on this, I'd like to read it. 

A:

If you're still looking for a more detailed overview, I've written up a description of the gzip deflate process, along with source code, at: http://www.infinitepartitions.com/art001.html

A:

Compression algorithm (deflate)
Gzip User's Manual
Also visit
The gZip home page.