From: Michael Wallner Date: Fri, 2 Feb 2007 17:11:10 +0000 (+0000) Subject: - add note about the past for the future, see http://bugs.php.net/?id=40310&edit=1 X-Git-Tag: RELEASE_1_0_0RC1~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd2554343bb0bc0e08d6ac53b76f609dc0cb2a29;p=php - add note about the past for the future, see http://bugs.php.net/?id=40310&edit=1 --- diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index ed863cdf67..5cb700a9ad 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -218,6 +218,8 @@ int php_zlib_output_handler(void **handler_context, php_output_context *output_c deflateEnd(&ctx->Z); return FAILURE; } + /* "Vary: Accept-Encoding" header sent along uncompressed content breaks caching in MSIE, + so let's just send it with successfully compressed content, see http://bugs.php.net/40325 */ sapi_add_header_ex(ZEND_STRL("Vary: Accept-Encoding"), 1, 1 TSRMLS_CC); php_output_handler_hook(PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE, NULL TSRMLS_CC); }