Permalink
Browse files

Strip subresource hints pagespeed automatic system test configuration

Corresponding changes for:
- pull apache/incubator-pagespeed-mod#1204
- issue Strip subresource hints #973 apache/incubator-pagespeed-mod#973
  • Loading branch information...
keesspoelstra authored and jeffkaufman committed Dec 10, 2015
1 parent 5264647 commit 08e284f9cbdd13ca09ba4ed6cbc15dc34bdbdd70
Showing with 19 additions and 0 deletions.
  1. +19 −0 test/pagespeed_test.conf.template
@@ -1765,6 +1765,25 @@ http {
https://www.gstatic.com/psa/static;
}

location /mod_pagespeed_test/strip_subresource_hints/default/ {
pagespeed DisableFilters add_instrumentation;
pagespeed RewriteLevel CoreFilters;
pagespeed DisAllow *dontrewriteme*;
}
location /mod_pagespeed_test/strip_subresource_hints/default_passthrough/ {
pagespeed DisableFilters add_instrumentation;
pagespeed RewriteLevel PassThrough;
}
location /mod_pagespeed_test/strip_subresource_hints/preserve_on/ {
pagespeed DisableFilters add_instrumentation;
pagespeed PreserveSubresourceHints on;
pagespeed RewriteLevel CoreFilters;
}
location /mod_pagespeed_test/strip_subresource_hints/preserve_off/ {
pagespeed DisableFilters add_instrumentation;
pagespeed PreserveSubresourceHints off;
pagespeed RewriteLevel CoreFilters;
}
# $host implicitly tests script variable support. I'd love to test it more
# directly, but so far this is the best I've come up with and duplicating
# the test doesn't seem to make sense.

0 comments on commit 08e284f

Please sign in to comment.