projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Asset.php
[Pman.Core]
/
Asset.php
diff --git
a/Asset.php
b/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 {