Jump to content

PHP extensions that minify uses to gzip the content


Recommended Posts


Little of topic: How can you verify that your board is using gzip after you enable it from ACP? I am in the same boat as OP.




you can use Google page speed or Yahoo slow and both are available for free as Firefox extensions :)
Link to comment
Share on other sites

I need zlip to use gzip? Im confused. So i enable this?



; Transparent output compression using the zlib library

; Valid values for this option are 'off', 'on', or a specific buffer size

; to be used for compression (default is 4KB)

; Note: Resulting chunk size may vary due to nature of compression. PHP

;       outputs chunks that are few hundreds bytes each as a result of

;       compression. If you prefer a larger chunk size for better

;       performance, enable output_buffering in addition.

; Note: You need to use zlib.output_handler instead of the standard

;       output_handler, or otherwise the output will be corrupted.

zlib.output_compression = Off

;zlib.output_compression_level = -1


Link to comment
Share on other sites


I need zlip to use gzip? Im confused. So i enable this?





; Transparent output compression using the zlib library

; Valid values for this option are 'off', 'on', or a specific buffer size

; to be used for compression (default is 4KB)

; Note: Resulting chunk size may vary due to nature of compression. PHP

;       outputs chunks that are few hundreds bytes each as a result of

;       compression. If you prefer a larger chunk size for better

;       performance, enable output_buffering in addition.

; Note: You need to use zlib.output_handler instead of the standard

;       output_handler, or otherwise the output will be corrupted.

zlib.output_compression = Off

;zlib.output_compression_level = -1




No, you just need to make sure the zlib extension is loaded, it should tell you in phpinfo(); I believe you also need to be able to use http://uk.php.net/manual/en/function.set-include-path.php
Link to comment
Share on other sites



zlib

ZLib Support 	enabled

Stream Wrapper support 	compress.zlib://

Stream Filter support 	zlib.inflate, zlib.deflate

Compiled Version 	1.2.1.1

Linked Version 	1.2.3.3 

But:

zlib.output_compression	Off



:huh:

Link to comment
Share on other sites




zlib

ZLib Support 	enabled

Stream Wrapper support 	compress.zlib://

Stream Filter support 	zlib.inflate, zlib.deflate

Compiled Version 	1.2.1.1

Linked Version 	1.2.3.3 

But:

zlib.output_compression	Off



:huh:

You don't need to enable output_compression, it would interfere with minify if you did.

You should check in phpinfo too for any disabled functions
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...