Re: file compression
| From: | jeremy brand | Date: | Tue, 21 Nov 2000 19:13:40 +0000 |
| Subject: | Re: file compression | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26492@lists.php.net to get a copy of this message | ||
That is true with some browsers.
You can check the Accept-Encoding: (I think -- see the HTTP RCF for
sure) headers. If it includes application/gzip, then is should be
okay.
But, keep in mind, this is not common practice, it adds overhead to
your servers and introduces a major risk of your web site appearing
broken to large percentage of your audience.
-jeremy brand
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
- - - - - - - - - - - - - - - - - - - - - - - - -
I am pleased to see that we have differences. May we together become
greater than the sum of both of us.
-- Surak of Vulcan, "The Savage Curtain", stardate 5906.4
On Tue, 21 Nov 2000, Robert Collins wrote:
> Date: Tue, 21 Nov 2000 12:12:36 -0700
> From: Robert Collins <rcollins@Insight.com>
> To: PHP General List <php-general@lists.php.net>
> Subject: [PHP] file compression
>
> I once read that you can send a file using PHP to the browser that is
> compressed(eg: g-zipped)
> and that that file would be decompressed and loaded into the browser.
>
>
> Robert W. Collins
> Web Developer II
> Insight / TC Computers
> www.insight.com
> www.tccomputers.com
>