Skip to content

Commit 245b31e

Browse files
authored
chore(docs): fix cache control headers (#7622)
* chore(docs): fix cache control headers CF is merging them * try 2
1 parent 19ad014 commit 245b31e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/docs/public/_headers

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
/*
2-
Cache-Control: public, max-age=3600, s-maxage=3600
2+
Cache-Control: public, max-age=3600, s-maxage=3600;
33

44
/assets/*
55
! Cache-Control
6-
Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable
6+
Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable;
77

88
/build/*
99
! Cache-Control
10-
Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable
10+
Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable;
1111

1212
/*.svg
1313
! Cache-Control
14-
Cache-Control: public, max-age=86400, s-maxage=86400
14+
Cache-Control: public, max-age=86400, s-maxage=86400;
1515

1616
/favicon.ico
1717
! Cache-Control
18-
Cache-Control: public, max-age=604800, s-maxage=604800
19-
18+
Cache-Control: public, max-age=604800, s-maxage=604800;

0 commit comments

Comments
 (0)