Oneness - True Faith
wizanda
Using Zlib instead of Gzip Compression Posted on: 2007/11/30 10:24
Helper
Joined:
2004/3/26 7:04
From Nottingham, UK
Posts: 2817
Most people want a site to go faster; many systems are currently using Gzip compression, which according to the PHP site...

Quote:

Note: You cannot use both ob_gzhandler() and zlib.output_compression. Also note that using zlib.output_compression is preferred over ob_gzhandler().


Also you can find numerous reports of Gzip messing things up or not working as expected....

So within our own site everything uses Zlib, Mysql can use Zlib also, the headers are sent through it, so even sites you browse through an Iframe go faster...Plus all data retrieved goes faster, as its all being compressed.


That's for a Xoops site, which you will either find in include/common.php with the GZhandler version (2.1), which is sluggish in comparison and has a level set, which may cause problems later depending on users....Also in the class/theme.php of 2.2, yet was removed due to not working properly...(plus not advised to be switched on from there, yet common.php first line so Mysql is retrieved through it also, plus the header.php for all contents to be compressed.)

That is just for normal PHP and on my home server I have just that with an Iframe encase sites are loading slowly.... So then compressing all data retrieved through it and thus speeding up even sites surfed...

N B with U
Transfer Print PDF Bookmark Top
Top Previous Topic Next Topic
Register To Post