This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Propagate 'cache-control:public' from inputs to outputs.
Partially fixes apache/incubator-pagespeed-ngx#1149 General strategy: - adjust general mechanism for computing output response header from input response headers to incorporate 'public' on input. A challenge here is to make sure we test all the egress points, e.g. - pagespeed resources: cached and reconstructed on demand - fallbacks of various sorts - ipro resources: cached and reconstructed on demand - loaded from LoadFromFile Propagate 'cache-control:public' from inputs to outputs. Partially fixes apache/incubator-pagespeed-ngx#1149 General strategy: - adjust general mechanism for computing output response header from input response headers to incorporate 'public' on input. A challenge here is to make sure we test all the egress points, e.g. - pagespeed resources: cached and reconstructed on demand - fallbacks of various sorts - ipro resources: cached and reconstructed on demand - loaded from LoadFromFile fixup fixup for c++03 more c++03isms rm unused include rm override (no c++11 on branch 33) Also add 'public' to non-private cache-control if request has via:*google*. Completes the fix to apache/incubator-pagespeed-ngx#1149 A challenge here is to make sure we test all the egress points, e.g. - pagespeed resources: cached and reconstructed on demand - fallbacks of various sorts - ipro resources: cached and reconstructed on demand - loaded from LoadFromFile also we must make sure we don't cache the 'public' based on the request headers.
- Loading branch information
Showing
20 changed files
with
355 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<link rel=stylesheet href="yellow.css" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.yellow {background-color: yellow;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.