Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
Strip subresource hints pagespeed automatic system test configuration
Browse files Browse the repository at this point in the history
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 Mar 7, 2016
1 parent 5264647 commit 08e284f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/pagespeed_test.conf.template
Expand Up @@ -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.
Expand Down

0 comments on commit 08e284f

Please sign in to comment.