diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-04-20 10:57:31 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-04-20 10:57:31 +0100 |
commit | edc0ff7fdb9ea599b8e1b19283902d19a1cfb174 (patch) | |
tree | 96554d5784f7f1a9338815d2ff311db2d174012e | |
parent | 215862a91cb1cb18246fca97862968819c168b5c (diff) |
Output Cache-Control no-transform header for JS files to work around UK mobile operators incompetently rewriting JavaScript over the air.
-rw-r--r-- | conf/httpd.conf-example | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/httpd.conf-example b/conf/httpd.conf-example index c1b6d96c2..e7900161e 100644 --- a/conf/httpd.conf-example +++ b/conf/httpd.conf-example @@ -67,6 +67,7 @@ ExpiresByType text/css "access plus 10 years" ExpiresByType application/javascript "access plus 10 years" <Location /js/> AddOutputFilter DEFLATE js + Header append Cache-Control "no-transform" </Location> # Don't want jslib being passed to Catalyst |