Skip to content

Commit 63b369c

Browse files
committed
Build: Remove 'no-transform' from Cache-Control
I added this in an attempt to tame Cloudflare. No longer needed.
1 parent 8eae616 commit 63b369c

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

cfg/default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ server {
6767
# Proxies must not mix up differently keyed responses
6868
add_header Vary "x-cdn-access";
6969

70-
add_header Cache-Control "public, no-transform";
70+
add_header Cache-Control "public";
7171
add_header Access-Control-Allow-Origin *;
7272
expires max;
7373
gzip on;

test/static-open.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
'vary' => 'Accept-Encoding, x-cdn-access',
3333
'etag' => '"28feccc0-40464"',
3434
'expires' => 'Thu, 31 Dec 2037 23:55:55 GMT',
35-
'cache-control' => 'max-age=315360000, public, no-transform',
35+
'cache-control' => 'max-age=315360000, public',
3636
'access-control-allow-origin' => '*',
3737
'accept-ranges' => 'bytes',
3838
] );
@@ -47,7 +47,7 @@
4747
'vary' => 'Accept-Encoding, x-cdn-access',
4848
'etag' => '"28feccc0-1d20"',
4949
'expires' => 'Thu, 31 Dec 2037 23:55:55 GMT',
50-
'cache-control' => 'max-age=315360000, public, no-transform',
50+
'cache-control' => 'max-age=315360000, public',
5151
'access-control-allow-origin' => '*',
5252
'accept-ranges' => 'bytes',
5353
] );
@@ -61,7 +61,7 @@
6161
'connection' => 'keep-alive',
6262
'etag' => '"28feccc0-1111"',
6363
'expires' => 'Thu, 31 Dec 2037 23:55:55 GMT',
64-
'cache-control' => 'max-age=315360000, public, no-transform',
64+
'cache-control' => 'max-age=315360000, public',
6565
'access-control-allow-origin' => '*',
6666
'accept-ranges' => 'bytes',
6767
] );
@@ -75,7 +75,7 @@
7575
'connection' => 'keep-alive',
7676
'etag' => '"28feccc0-1ec81"',
7777
'expires' => 'Thu, 31 Dec 2037 23:55:55 GMT',
78-
'cache-control' => 'max-age=315360000, public, no-transform',
78+
'cache-control' => 'max-age=315360000, public',
7979
'access-control-allow-origin' => '*',
8080
'accept-ranges' => 'bytes',
8181
] );
@@ -94,7 +94,7 @@
9494
'vary' => 'Accept-Encoding, x-cdn-access',
9595
'etag' => '"28feccc0-40464"',
9696
'expires' => 'Thu, 31 Dec 2037 23:55:55 GMT',
97-
'cache-control' => 'max-age=315360000, public, no-transform',
97+
'cache-control' => 'max-age=315360000, public',
9898
'access-control-allow-origin' => '*',
9999
'accept-ranges' => 'bytes',
100100
] );

test/static-strict.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
'vary' => 'Accept-Encoding, x-cdn-access',
4242
'etag' => '"28feccc0-40464"',
4343
'expires' => 'Thu, 31 Dec 2037 23:55:55 GMT',
44-
'cache-control' => 'max-age=315360000, public, no-transform',
44+
'cache-control' => 'max-age=315360000, public',
4545
'access-control-allow-origin' => '*',
4646
'accept-ranges' => 'bytes',
4747
] );
@@ -53,7 +53,7 @@
5353
'server' => 'nginx',
5454
'location' => 'https://code.jquery.com/jquery-3.0.0.js',
5555
'vary' => 'x-cdn-access',
56-
'cache-control' => 'max-age=300, public, no-transform',
56+
'cache-control' => 'max-age=300, public',
5757
'access-control-allow-origin' => '*',
5858
] );
5959

@@ -66,7 +66,7 @@
6666
'server' => 'nginx',
6767
'location' => 'https://code.jquery.com/jquery-3.0.0.js',
6868
'vary' => 'x-cdn-access',
69-
'cache-control' => 'max-age=300, public, no-transform',
69+
'cache-control' => 'max-age=300, public',
7070
'access-control-allow-origin' => '*',
7171
] );
7272

0 commit comments

Comments
 (0)