Hi John

You *can* control on a a page-by-page basis as i'm doing now. I have some
pages admin pages that are getting a lot of hits and i'm using the
compression to reduce them from 52K to 7K and 153K to 17K!

The majority of the users are accessing via 56K modem/ISDN so i'm willing to
trade a tiny bit of cpu usage on a lightly loaded machine and save a lot of
bandwidth in the process.

Your customers may have access to T1 lines so won't see the difference,
however my 56K customers noticed the difference without me even telling them
about it.

Regards


Girish



----- Original Message -----
From: "John Holmes" <[EMAIL PROTECTED]>
To: "'SP'" <[EMAIL PROTECTED]>; "'Girish Nath'"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, May 15, 2002 3:18 AM
Subject: RE: [PHP] Cool PHP Tricks/Features ?


Yes, it can be useful. I don't dispute that. All I'm saying is that it's
not the "save-all" or whatever. Look at how much traffic it's going to
save you, look at how much extra processing power you're taking from
your CPU, look at the connections and computers of your clients, etc.
Maybe it's not that big of a deal, but I just don't want some newbie
seeing this and thinking that it's going to be the answer to all of
their problems. I may even look into it for a couple large pages that I
have. You can control it on a page-by-page basis, right?

---John Holmes...

> -----Original Message-----
> From: SP [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 14, 2002 9:29 PM
> To: [EMAIL PROTECTED]; 'Girish Nath'; [EMAIL PROTECTED]
> Subject: RE: [PHP] Cool PHP Tricks/Features ?
>
> Well if his normal page is 100k and he can cut the
> size down to 50k with gzip then instead of having
> a monthly transfer of 100 GB for example, he would
> only be paying for 50 GB.  Seems like it's useful
> for extremely large sites.
>
>
>
> -----Original Message-----
> From: John Holmes
> [mailto:[EMAIL PROTECTED]]
> Sent: May 14, 2002 6:43 PM
> To: 'Girish Nath'; [EMAIL PROTECTED]
> Subject: RE: [PHP] Cool PHP Tricks/Features ?
>
>
> Why do you think this is useful to you? I remember
> reading an article on
> this and its conclusion was that zipping the
> output was only beneficial
> for large data between fast computers over a slow
> pipe. You have to look
> at who your clients are and if it's beneficial to
> have their machine use
> up extra time (processing power) unzipping things
> or not. Also, you're
> using more processing time on your computer having
> to do the zipping for
> every request, too.
>
> ---John Holmes...
>
> > -----Original Message-----
> > From: Girish Nath
> [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 14, 2002 9:28 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Cool PHP Tricks/Features ?
> >
> > Hi
> >
> > I've been using PHP for about 2 years now but
> only just discovered
> > ob_gzhandler and gzip/compressing http output.
> > It's something i wish i'd found out about
> earlier because even though
> it's
> > a
> > simple concept the result blew me away :)
> >
> > Anyway, i just wanted to know of any other cool
> tricks/features that
> you
> > guys are using that others could have
> overlooked.
> >
> > Thanks
> >
> >
> > Girish
> > --
> > www.girishnath.co.uk
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit:
> http://www.php.net/unsub.php
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit:
> http://www.php.net/unsub.php
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.361 / Virus Database: 199 - Release
> Date: 07/05/02
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.361 / Virus Database: 199 - Release
> Date: 07/05/02





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to