Skip to content

Commit ced2a96

Browse files
committed
Add headers
1 parent 1736b50 commit ced2a96

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

public/_headers

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
Cache-Control: public, max-age=3600
3+
X-Content-Type-Options: nosniff
4+
X-Frame-Options: DENY
5+
X-XSS-Protection: 1; mode=block
6+
Referrer-Policy: strict-origin-when-cross-origin
7+
8+
/_astro/*
9+
Cache-Control: public, max-age=31536000, immutable
10+
11+
/*.webp
12+
Cache-Control: public, max-age=31536000, immutable
13+
14+
/*.jpg
15+
Cache-Control: public, max-age=31536000, immutable
16+
17+
/*.png
18+
Cache-Control: public, max-age=31536000, immutable
19+
20+
/*.svg
21+
Cache-Control: public, max-age=31536000, immutable
22+
23+
/*.woff2
24+
Cache-Control: public, max-age=31536000, immutable
25+
26+
/*.woff
27+
Cache-Control: public, max-age=31536000, immutable

0 commit comments

Comments
 (0)