Asset.php
[Pman.Core] / Asset.php
index d0fd536..bc0475f 100644 (file)
--- a/Asset.php
+++ b/Asset.php
@@ -100,7 +100,10 @@ class Pman_Core_Asset extends Pman {
             $content = gzencode( file_get_contents($fn) , 9);
             
             header('Content-Encoding: gzip');
+                header('Vary: Accept-Encoding');
+
             header('Content-Length: '. strlen($content));
+            
             echo $content;
             
         } else {