We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b0aec3 commit 2bac7adCopy full SHA for 2bac7ad
1 file changed
README.md
@@ -114,13 +114,13 @@ Example:
114
```yaml
115
routes:
116
- route: "^.+\\.(js|css|svg|ttf)$"
117
- # cache static assets for 20 years
+ # cache static assets for 1 year.
118
headers:
119
- Cache-Control: "max-age=630720000, no-transform, public"
+ Cache-Control: "max-age=31536000, no-transform, public"
120
gzip: true
121
- route: "^.+\\.(png|jpg)$"
122
123
124
gzip: false
125
- route: "^.+\\.(html|xml|json)$"
126
0 commit comments