Skip to content

Commit

Permalink
Revert "Drop Cache-Control: no-transform expectation"
Browse files Browse the repository at this point in the history
This reverts commit eb60bf6

Ref: h5bp/server-configs-apache#185
  • Loading branch information
LeoColomb committed Jul 30, 2019
1 parent 040bbf3 commit 6d0ad52
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions lib/basic-file-access.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"responseHeaders": {
"Access-Control-Allow-Origin": null,
"Cache-Control": "max-age=2592000",
"Cache-Control": "max-age=2592000, no-transform",
"Content-Security-Policy": null,
"Referrer-Policy": null,
"X-Content-Type-Options": "nosniff",
Expand All @@ -22,13 +22,13 @@
{
"target": "test.appcache",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": "max-age=0, no-transform"
}
},
{
"target": "test.atom",
"responseHeaders": {
"Cache-Control": "max-age=3600",
"Cache-Control": "max-age=3600, no-transform",
"Content-Security-Policy": true
}
},
Expand All @@ -45,7 +45,7 @@
{
"target": "test.css",
"responseHeaders": {
"Cache-Control": "max-age=31536000"
"Cache-Control": "max-age=31536000, no-transform"
}
},
{
Expand All @@ -67,7 +67,7 @@
{
"target": "test.geojson",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": "max-age=0, no-transform"
}
},
{
Expand All @@ -83,7 +83,7 @@
{
"target": "test.html",
"responseHeaders": {
"Cache-Control": "max-age=0",
"Cache-Control": "max-age=0, no-transform",
"Content-Security-Policy": true,
"Referrer-Policy": "no-referrer-when-downgrade",
"X-Frame-Options": "DENY",
Expand All @@ -98,14 +98,14 @@
},
"responseHeaders": {
"Access-Control-Allow-Origin": "*",
"Cache-Control": "max-age=604800",
"Cache-Control": "max-age=604800, no-transform",
"Content-Type": "image/x-icon"
}
},
{
"target": "test.ics",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": "max-age=0, no-transform"
}
},
{
Expand All @@ -129,21 +129,21 @@
{
"target": "test.js",
"responseHeaders": {
"Cache-Control": "max-age=31536000",
"Cache-Control": "max-age=31536000, no-transform",
"Content-Security-Policy": true,
"Content-Type": "text/javascript; charset=utf-8"
}
},
{
"target": "test.json",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": "max-age=0, no-transform"
}
},
{
"target": "test.jsonld",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": "max-age=0, no-transform"
}
},
"test.m4a",
Expand All @@ -156,25 +156,25 @@
{
"target": "test.map",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": "max-age=0, no-transform"
}
},
{
"target": "test.markdown",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": "max-age=0, no-transform"
}
},
{
"target": "test.md",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": "max-age=0, no-transform"
}
},
{
"target": "test.mjs",
"responseHeaders": {
"Cache-Control": "max-age=31536000",
"Cache-Control": "max-age=31536000, no-transform",
"Content-Security-Policy": true,
"Content-Type": "text/javascript; charset=utf-8"
}
Expand Down Expand Up @@ -222,14 +222,14 @@
{
"target": "test.rdf",
"responseHeaders": {
"Cache-Control": "max-age=3600",
"Cache-Control": "max-age=3600, no-transform",
"Content-Security-Policy": true
}
},
{
"target": "test.rss",
"responseHeaders": {
"Cache-Control": "max-age=3600",
"Cache-Control": "max-age=3600, no-transform",
"Content-Security-Policy": true
}
},
Expand Down Expand Up @@ -290,20 +290,20 @@
{
"target": "test.wasm",
"responseHeaders": {
"Cache-Control": "max-age=31536000"
"Cache-Control": "max-age=31536000, no-transform"
}
},
{
"target": "test.webapp",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": "max-age=0, no-transform"
}
},
"test.webm",
{
"target": "test.webmanifest",
"responseHeaders": {
"Cache-Control": "max-age=604800"
"Cache-Control": "max-age=604800, no-transform"
}
},
{
Expand All @@ -313,7 +313,7 @@
},
"responseHeaders": {
"Access-Control-Allow-Origin": "*",
"Cache-Control": "max-age=2592000"
"Cache-Control": "max-age=2592000, no-transform"
}
},
{
Expand All @@ -337,7 +337,7 @@
{
"target": "test.xml",
"responseHeaders": {
"Cache-Control": "max-age=0",
"Cache-Control": "max-age=0, no-transform",
"Content-Security-Policy": true
}
},
Expand Down Expand Up @@ -377,7 +377,7 @@
"Access-Control-Allow-Origin": null,
"X-Powered-By": null,
"X-Content-Type-Options": "nosniff",
"Cache-Control": "max-age=0",
"Cache-Control": "max-age=0, no-transform",
"Content-Security-Policy": true,
"Referrer-Policy": "no-referrer-when-downgrade",
"X-Frame-Options": "DENY",
Expand Down

0 comments on commit 6d0ad52

Please sign in to comment.