We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
zlib.output_compression=on
1 parent 367e587 commit 500bcb8Copy full SHA for 500bcb8
xoops_trust_path/modules/xpwiki/loader.php
@@ -282,6 +282,8 @@
282
// キャッシュ判定
283
if ($gzip_fname && is_file($gzip_fname) && filemtime($gzip_fname) >= $filetime) {
284
// html側/private/cache に 有効な gzip ファイルがある場合
285
+ @ini_set('zlib.output_compression', '0');
286
+
287
header( 'Content-Type: ' . $c_type );
288
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s', $filetime ) . ' GMT' );
289
header( 'Cache-Control: max-age=' . $maxage );
@@ -472,6 +474,7 @@
472
474
header( 'Etag: '. $etag );
473
475
header( 'Content-length: '.$length );
476
if ($is_gz) {
477
478
header( 'Content-Encoding: gzip' );
479
header( 'Vary: Accept-Encoding' );
480
}
0 commit comments