Skip to content

Commit f94d875

Browse files
committed
fix(docs): correct cloudflare _headers
order matters when matching multiple times
1 parent b0b61a7 commit f94d875

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/docs/public/_headers

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
1+
/*
2+
Cache-Control: public, max-age=3600, s-maxage=3600
3+
14
/assets/*
5+
! Cache-Control
26
Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable
37

48
/build/*
9+
! Cache-Control
510
Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable
611

712
/*.svg
13+
! Cache-Control
814
Cache-Control: public, max-age=86400, s-maxage=86400
915

1016
/favicon.ico
17+
! Cache-Control
1118
Cache-Control: public, max-age=604800, s-maxage=604800
1219

13-
/*
14-
Cache-Control: public, max-age=3600, s-maxage=3600

0 commit comments

Comments
 (0)