system test: label pre-compressed test data as such

The system test 'gzipped js origin' needs files in the directory
  /mod_pagespeed_test/compressed/
to be served as pre-gzip encoded javascript.
This commit is contained in:
Jeff Kaufman
2012-11-19 11:30:09 -05:00
parent eaef938988
commit 318e14fa32
+8
View File
@@ -132,6 +132,14 @@ you need to first build and configure nginx. Set it up something like:
add_header Cache-Control no-cache;
}
location /mod_pagespeed_test/compressed/ {
add_header Cache-Control max-age=600;
add_header Content-Encoding gzip;
types {
text/javascript custom_ext;
}
}
...
}
}