How to GZip Components?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pcoder
Forum Contributor
Posts: 230
Joined: Fri Nov 03, 2006 5:19 am

How to GZip Components?

Post by pcoder »

Hi,
I have installed YSlow(Yahoo's firefox plugin).
It helps us to increase the performance of web site.
When i tried to get the performance level, i got the rate "F" for GZip components.
Kindly speaking, i don't have any idea of GZip the components.
And i wonder , what is the cleanest way to GZip the components?

Thanks
User avatar
arjan.top
Forum Contributor
Posts: 305
Joined: Sun Oct 14, 2007 4:36 am
Location: Hoče, Slovenia

Re: How to GZip Components?

Post by arjan.top »

if you are using apache try mod_deflate
User avatar
pcoder
Forum Contributor
Posts: 230
Joined: Fri Nov 03, 2006 5:19 am

Re: How to GZip Components?

Post by pcoder »

Would you please explain it in more detail.
From the PHP Perspective, what i have to do to GZip components?
I am using apache 2 and HTTP_ACCEPT_ENCODING supports GZip and deflate.
Thanks
Post Reply