Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 08e284f

Browse files
keesspoelstrajeffkaufman
authored andcommitted
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
1 parent 5264647 commit 08e284f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

test/pagespeed_test.conf.template

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1765,6 +1765,25 @@ http {
17651765
https://www.gstatic.com/psa/static;
17661766
}
17671767

1768+
location /mod_pagespeed_test/strip_subresource_hints/default/ {
1769+
pagespeed DisableFilters add_instrumentation;
1770+
pagespeed RewriteLevel CoreFilters;
1771+
pagespeed DisAllow *dontrewriteme*;
1772+
}
1773+
location /mod_pagespeed_test/strip_subresource_hints/default_passthrough/ {
1774+
pagespeed DisableFilters add_instrumentation;
1775+
pagespeed RewriteLevel PassThrough;
1776+
}
1777+
location /mod_pagespeed_test/strip_subresource_hints/preserve_on/ {
1778+
pagespeed DisableFilters add_instrumentation;
1779+
pagespeed PreserveSubresourceHints on;
1780+
pagespeed RewriteLevel CoreFilters;
1781+
}
1782+
location /mod_pagespeed_test/strip_subresource_hints/preserve_off/ {
1783+
pagespeed DisableFilters add_instrumentation;
1784+
pagespeed PreserveSubresourceHints off;
1785+
pagespeed RewriteLevel CoreFilters;
1786+
}
17681787
# $host implicitly tests script variable support. I'd love to test it more
17691788
# directly, but so far this is the best I've come up with and duplicating
17701789
# the test doesn't seem to make sense.

0 commit comments

Comments
 (0)