Andreas Korthaus: gzip-Komprimierung

Beitrag lesen

Hallo!

http://www.php.net/manual/en/function.ob-gzhandler.php

Beachte, dass ob_gzhandler immer Komprimiert, daher solltest Du unbedingt den Accept-Encoding-Header vom Browser parsen, bevor Du damit anfängst.

Da steht aber

Before ob_gzhandler() actually sends compressed data, it determines what type of content encoding the browser will accept ("gzip", "deflate" or none at all) and will return it's output accordingly. All browsers are supported since it's up to the browser to send the correct header saying that it accepts compressed web pages.

Grüße
Andreas