note 69211 added to function.ob-gzhandler
| From: | fpiat at bigfoot dot com | Date: | Sun, 27 Aug 2006 12:55:24 +0000 |
| Subject: | note 69211 added to function.ob-gzhandler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116385@lists.php.net to get a copy of this message | ||
DON'T compress/gzip your Error pages :
i can think of two good reasons not to compress your error pages:
1. You want to make sure that people can read you error pages, don't you ?
2. Compressing pages have a "side effect" : it's smaller !! if you return
"HTTP/1.x 404 Document Not fount" (or any other HTTP error), MSIE will display it's
built in error message, not yours if it's small than 513bytes. (see "HOW TO: Turn Off the
Internet Explorer 5.x and 6.x 'Show Friendly HTTP Error Messages' Feature on the Server
Side" http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807
)
----
Server IP: 66.163.161.117
Probable Submitter: 82.224.65.140
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.ob-gzhandler.php
Edit -- https://master.php.net/note/edit/69211
Del: integrated -- https://master.php.net/note/delete/69211/integrated
Del: useless -- https://master.php.net/note/delete/69211/useless
Del: bad code -- https://master.php.net/note/delete/69211/bad+code
Del: spam -- https://master.php.net/note/delete/69211/spam
Del: non-english -- https://master.php.net/note/delete/69211/non-english
Del: in docs -- https://master.php.net/note/delete/69211/in+docs
Del: other reasons-- https://master.php.net/note/delete/69211
Reject -- https://master.php.net/note/reject/69211
Search -- https://master.php.net/manage/user-notes.php