Skip to content

Commit

Permalink
Drop cache control on non-cachable files
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb committed Oct 29, 2022
1 parent e285769 commit ae4f3dd
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions lib/basic-file-access.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{
"target": "test.appcache",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": null
}
},
{
Expand Down Expand Up @@ -85,7 +85,7 @@
{
"target": "test.geojson",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": null
}
},
{
Expand All @@ -101,7 +101,7 @@
{
"target": "test.html",
"responseHeaders": {
"Cache-Control": "max-age=0",
"Cache-Control": null,
"Content-Security-Policy": true,
"Permissions-Policy": true,
"Referrer-Policy": "strict-origin-when-cross-origin",
Expand All @@ -125,7 +125,7 @@
{
"target": "test.ics",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": null
}
},
{
Expand Down Expand Up @@ -161,13 +161,13 @@
{
"target": "test.json",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": null
}
},
{
"target": "test.jsonld",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": null
}
},
"test.m4a",
Expand All @@ -180,19 +180,19 @@
{
"target": "test.map",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": null
}
},
{
"target": "test.markdown",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": null
}
},
{
"target": "test.md",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": null
}
},
{
Expand Down Expand Up @@ -339,7 +339,7 @@
{
"target": "test.webapp",
"responseHeaders": {
"Cache-Control": "max-age=0"
"Cache-Control": null
}
},
"test.webm",
Expand Down Expand Up @@ -379,7 +379,7 @@
{
"target": "test.xml",
"responseHeaders": {
"Cache-Control": "max-age=0",
"Cache-Control": null,
"Content-Security-Policy": true,
"Permissions-Policy": true,
"Referrer-Policy": "strict-origin-when-cross-origin",
Expand Down Expand Up @@ -424,13 +424,14 @@
"Access-Control-Allow-Origin": null,
"X-Powered-By": null,
"X-Content-Type-Options": "nosniff",
"Cache-Control": "max-age=0",
"Cache-Control": null,
"Content-Security-Policy": true,
"Permissions-Policy": true,
"Referrer-Policy": "strict-origin-when-cross-origin",
"Cross-Origin-Embedder-Policy": "require-corp",
"Cross-Origin-Opener-Policy": "same-origin",
"Cross-Origin-Resource-Policy": "same-origin", "X-Frame-Options": "DENY",
"Cross-Origin-Resource-Policy": "same-origin",
"X-Frame-Options": "DENY",
"Content-Type": "text/html; charset=utf-8",
"Content-Encoding": "gzip"
}
Expand Down

0 comments on commit ae4f3dd

Please sign in to comment.