diff options
Diffstat (limited to 'modules/gallery')
-rw-r--r-- | modules/gallery/controllers/combined.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/controllers/combined.php b/modules/gallery/controllers/combined.php index ef640bd9..fe177569 100644 --- a/modules/gallery/controllers/combined.php +++ b/modules/gallery/controllers/combined.php @@ -67,6 +67,8 @@ class Combined_Controller extends Controller { if ($use_gzip && $content = $cache->get("{$key}_gz")) { header("Content-Encoding: gzip"); + header("Content-Length: ".strlen($content)); + header("Vary: Accept-Encoding"); } else { // Fall back to non-gzipped if we have to $content = $cache->get($key); |