php forum
php mysql forum
php mysql smarty
 
Topic Options
#315925 - 10/02/07 03:01 PM Speeding up site: GZIP vs zlib?
Calpy Offline
Power User

Registered: 12/17/02
Posts: 71
Hi guys, my forum is 4 years old with lots of posts, with about 2k members though only a few hundred are active over each month. It seems to run moderately slow at times, and so I'm tweaking what I can. For PALS, I have Who's Online, ShoutBox, Recent Posts from 1 forum, and a custom pal for my FlashChat that shows who's chatting. Forum list loads in 3.859 seconds for me in Firefox with a DSL connection.

Which do you think is better, enabling gzip via the forum cpanel, or adding this to my site's .htaccess (which I saw in another thread here):
Code:
AddType application/x-httpd-php .php .htm .html .js
DirectoryIndex index.html index.htm index.php
php_flag zlib.output_compression on
php_value zlib.output_compression_level 1 


The times seem pretty similar, but I was just wondering your informed thoughts on this.

And the devil inside me wonders what would happen if I enabled both and suppressed error messages? Faster but more server load? Armageddon?

As an aside, my Expression Engine blog on the same domain has a GZIP option via cpanel, but I tried leaving that on AND putting the code above into my htaccess, and the blog does seem to load faster than with either one separately. But it's much smaller and less visited than my forum.

Thanks for your thoughts!

Top
#315937 - 10/04/07 12:53 PM Re: Speeding up site: GZIP vs zlib? [Re: Calpy]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
I think it would speed up download times for those on dial-up connections, but for a busy site may actually slow the process/view of a page for those who can download 70kb-150kb files in a flash. With a broadband connection I think the biggest speed hurdle is the server processing the queries and producing the html page to download. I may be wrong but compressing normal php/html files on a broadband connection from a decent webhost will produce pretty small returns.

Now, throw more ram at the same situation and optimize it would speed up any dynamic website smile
_________________________
- Allen wavey
- What Drives You?

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks