Forum Moderators: coopster

Message Too Old, No Replies

zlib output compression

default?

         

Code Sentinel

4:50 am on Oct 19, 2004 (gmt 0)

10+ Year Member



I'm reading on gzip stuff and notice the compression levels of 0 to 9 but the default for a few servers I've seen is -1 and I can't seem to find what this means.

The compression works(page is noticeably smaller) using ob_gzhandler which I read is based on the compression level set for zlib.output_compression_level (the setting which is -1)

What does -1 mean?

edit: found out, means default or 6

mincklerstraat

8:20 am on Oct 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Looks like you're becoming our in-house expert on compression, Code_Sentinel. I'll probably come knocking on your door someday soon when I get to the tricky caching part of my script to find out the what's and why's.