Skip to content

Commit f656dce

Browse files
committed
cf headers: configure cache control: /_astro/* now has longer max-age, other pages no longer has stale-while-revalidate
1 parent fcb8907 commit f656dce

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

public/_headers

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1+
2+
# astro output static images
3+
/_astro/*
4+
Cache-Controle: public, max-age=604800
5+
/
6+
Cache-Control: max-age=604800
17
/*
2-
Cache-Control: max-age=3600, stale-while-revalidate=604800
8+
Cache-Control: max-age=3600

0 commit comments

Comments
 (0)