Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
3 - 1 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Compression Bug Fix
by wizanda on 2007/3/19 15:21:55

Ok this appears to work, yet not as expected (by me), as in before adding this to class/theme.php

I had decided that
.htaccess
php_value output_handler ob_gzhandler
worked better then:
php_flag zlib.output_compression on

Yet as the instructions in php says, if zlib is loaded, so on changing this last night and then visiting my site, there was huge delay after all the work done lately.

So then questioned where, as I had seen bouncing like it before as browsing and realized it was the hack working for gzip of Xoops.
so first removed the htacess ob_gzhandler that was there and this had indeed slowed it.
So then tested does XOOPS now have gzip, yet on a gzip test no ,
yet the site is faster on content, so it looks like this doesn’t compress from the head of the theme, yet the head of the XOOPS content.(there are also references in the file download extensions for gzipping them)

So then as that says if zlib loaded, this I have now added to the htaccess

php_flag zlib.output_compression on

To finish it, so then XOOPS content is gzip (I think) and then files as read, are done via the htaccess.

Sill in testing, yet will see how it handles after a day or so.......
Re: Compression Bug Fix
by vampire8 on 2005/7/11 7:35:45

er... where does this code go? I mean, in which file do I insert this to get compression to work again?

Also, shouldn't the compression be done before caching, so that if there's a cache hit, it doesn't need to be compressed again (the compressed content can just be sent out). Will be _much_ more efficient, as the server will be able to handle MUCH more load.

Thanks

Sumit.
Re: Compression Bug Fix
by Catzwolf on 2005/6/2 22:43:14

hehe!

Np Mith

ATB

Catz
Re: Compression Bug Fix
by Mithrandir on 2005/6/2 22:29:52

oh yeah - forgot

Thanks, Catz.
Re: Compression Bug Fix
by Catzwolf on 2005/6/2 22:29:08

Your Welcome

ATB

Catz

Who's Online

256 user(s) are online (185 user(s) are browsing Support Forums)


Members: 0


Guests: 256


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits