mummana Posted January 29, 2009 Share Posted January 29, 2009 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 https://forums.phpfreaks.com/topic/143042-zlibs-default-compress-level/ Share on other sites More sharing options...
corbin Posted January 29, 2009 Share Posted January 29, 2009 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 https://forums.phpfreaks.com/topic/143042-zlibs-default-compress-level/#findComment-750126 Share on other sites More sharing options...
Maq Posted January 29, 2009 Share Posted January 29, 2009 Can I ask the reason you're asking? You can print it out to the console if you're that desperate. Link to comment https://forums.phpfreaks.com/topic/143042-zlibs-default-compress-level/#findComment-750133 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.