Strip subresource hints pagespeed automatic system test configuration
Corresponding changes for: - pull https://github.com/pagespeed/mod_pagespeed/pull/1204 - issue Strip subresource hints #973 https://github.com/pagespeed/mod_pagespeed/issues/973
This commit is contained in:
@@ -1748,6 +1748,25 @@ http {
|
|||||||
https://www.gstatic.com/psa/static;
|
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
|
# $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
|
# directly, but so far this is the best I've come up with and duplicating
|
||||||
# the test doesn't seem to make sense.
|
# the test doesn't seem to make sense.
|
||||||
|
|||||||
Reference in New Issue
Block a user