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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
...
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user