note 39574 added to function.header
| From: | dtorop932 at hotmail dot com | Date: | Mon, 02 Feb 2004 23:53:16 +0000 |
| Subject: | note 39574 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64571@lists.php.net to get a copy of this message | ||
Related to venky_madurai's post of 17-Jan-2003, that gzip compressed pages marked no-cache can
sometimes crash a browser and are not cached:
IE6 shows no content (entirely blank page) in certain cases when using the suggested HTTP/1.1
cache-control headers (no-store, no-cache, must-revalidate, post-check=0, pre-check=0) combined with
with gzip compressed output.
Changing the cache-control header to just:
header("Cache-Control: no-cache");
seems to solve this while still (at least in some cases) not caching the page.
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39574
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39574&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39574&report=yes
Search -- http://master.php.net/manage/user-notes.php