note 69211 deleted from function.ob-gzhandler by cmb
| From: | cmb@php.net | Date: | Sun, 01 Mar 2020 09:17:33 +0000 |
| Subject: | note 69211 deleted from function.ob-gzhandler by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-214257@lists.php.net to get a copy of this message | ||
Note Submitter: fpiat at bigfoot dot com
----
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
)