Jump to content

Zlib's default compress level


mummana

Recommended Posts

Hi,

 

We are using mod_deflate for the compression using apache. We want to know what is the default compression level. Apache document says it is Zlib's default level. What could be the Zlib's default value ?

 

Could you please help me regarding?

 

Thanks

Srini

 

Link to comment
Share on other sites

http://www.zlib.net/manual.html

 

 

I would imagine it's somewhere in there, but searching I couldn't find anything.  About to read through it more or look through source code because I'm kind of curious.

 

 

 

Just of curiosity, why can't you set it your self?

 

 

 

edit:

 

 

"Z_DEFAULT_COMPRESSION requests a default compromise between speed and compression (currently equivalent to level 6)."

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.