You are here: Re: [PHP] Reducing size of htm output « PHP « IT news, forums, messages
Re: [PHP] Reducing size of htm output

Posted by Prathaban Mookiah on 05/09/05 13:03

I just finished testing what you said. It comes from the cache during the
second time. But this happens with all the other pages too (the non-
compressed) not only the ones that were returned using ob_gzhandler.

It is the same phenomena with Opera 8 too.

Prathap


---------- Original Message -----------
From: Rory Browne <rory.browne@gmail.com>
To: Prathaban Mookiah <prathap@ee.pdn.ac.lk>
Cc: Rasmus Lerdorf <rasmus@lerdorf.com>, php-general@lists.php.net,
neretlis@westnet.com.au
Sent: Mon, 9 May 2005 10:42:52 +0100
Subject: Re: [PHP] Reducing size of htm output

> > But I remember gz encoding works fine with IE 5. Shouldn't be a problem
with
> > 5.5.
>
> Did you try downloading the same compressed page twice, and checking
> the server logs, to see if it loaded from cache the second time
> around?
>
> >
> > Cheers,
> >
> > Prathap
> >
> >
> > ---------- Original Message -----------
> > From: Rasmus Lerdorf <rasmus@lerdorf.com>
> > To: Prathaban Mookiah <prathap@ee.pdn.ac.lk>
> > Cc: Kirsten <neretlis@westnet.com.au>, php-general@lists.php.net
> > Sent: Fri, 06 May 2005 14:31:04 -0700
> > Subject: Re: [PHP] Reducing size of htm output
> >
> > > Prathaban Mookiah wrote:
> > > > Is it true that ob_start("ob_gzhandler") can cause problems on IE 5.
5+?
> > > > ====
> > > > Since IE <any-version> is on the client side, it shouldn't cause any
> > problems
> > > > to ob_start(), in that case any other PHP function.
> > >
> > > That's not true. ob_gzhandler is extremely browser-dependant since
> > > it needs to check to see if the browser sent an appropriate accept-
encoding
> > > header. Some of the early IE versions sent accept-encoding: gzip but
> > > didn't correctly implement it, so you can run into problems if you
> > > use ob_gzhandler with certain older browsers. It is fine for all
> > > the recent releases though.
> > >
> > > -Rasmus
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > ------- End of Original Message -------
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
------- End of Original Message -------

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация