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

Commit 9711b52

Browse files
jmarantzcrowell
authored andcommitted
set up a test subdir with cc:public (#1215)
1 parent 07a6647 commit 9711b52

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/pagespeed_test.conf.template

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,6 +1831,11 @@ http {
18311831
"http://$host:@@PRIMARY_PORT@@/mod_pagespeed_test/ipro/instant/"
18321832
"@@SERVER_ROOT@@/mod_pagespeed_test/ipro/instant/";
18331833

1834+
location /mod_pagespeed_test/public/ {
1835+
add_header "Cache-Control" "public, max-age=600";
1836+
pagespeed PreserveUrlRelativity off;
1837+
}
1838+
18341839
pagespeed EnableFilters remove_comments;
18351840

18361841
# Test LoadFromFile mapping by mapping one dir to another.

0 commit comments

Comments
 (0)