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



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

Re: Gzip compression really working ?
by kotis on 2005/3/31 21:19:31

Quote:

OnePay wrote:
In our implementations "$xoopsConfig['gzip_compression']" returns NULL (it is turned on in the admin), so it would not even try to use ob_gzhandler. However, when I remove the complete if-statement and just put "ob_start('ob_gzhandler')" there is no "Content-Encoding: gzip" in the headers. Only after placing the "ob_start('ob_gzhandler')" on the very first line (in the first else-statement) in the "common.php" file it outputs the site using gzip compression.

Note: I have added this to the bug list.


thank you, thank you, thank you... that really saved me...
Re: Gzip compression really working ?
by RachelVirago on 2005/3/23 8:33:06

Just when you thought it was the end of the thread!

As an afterthought, Using the test sites given at the start of thread I notice that xoops.org is not using compression and does rather badly in these tests.

Re: Gzip compression really working ?
by RachelVirago on 2005/3/23 0:55:57

Quote:

ackbarr wrote:
since XOOPS already uses smarty for content caching, I wouldn't think it to be desirable to switch to or add a different caching engine.
Until this bug is fixed, if you want to ensure that your pages are gzip encoded you can disable the "Use gzip compression" setting in System -> Preferences -> General Settings and add the following to XOOPS_ROOT/.htaccess
le="color: #000000"><?php php_flag zlib.output_compression on php_value zlib.output_compression_level 5


zlib.output_compression_level can be from 1 to 9, with 9 being the highest compression. Normal settings are usually between 3 and 6.

Please note that your host must be using Apache and has to allow you to create .htaccess files for this workaround to function.


This works for but good!

Huge increase in performance.

Elegant solution for my virtual server thanks.
Re: Gzip compression really working ?
by ideiafacil on 2005/2/25 1:58:28

Any info about this in XOOPS 2.0.9.2?

One more question: Any data about how much performance is gain in Turck MMcache system in a XOOPS website?

Any benchmark test?
Re: Gzip compression really working ?
by ajaxbr on 2004/12/1 11:42:33

Quote:

Jan304 wrote:
If people now want to enable gzip they can try out a lot of codes...
Hey, in a couple weeks we can celebrate the birthday of this issue

Perhaps a little note can be included in 2.0.9 to let users know gzip needs tweaking (instead of simply clicking on "enable")?

I've stoped trying to enable it after some problems I believed were related to it (using the .htaccess method).

Who's Online

175 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 175


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