14 lines
387 B
YAML
14 lines
387 B
YAML
routes:
|
|
- route: "^.+\\.(js|css|svg|ttf)$"
|
|
# cache static assets for 20 years
|
|
headers:
|
|
Cache-Control: "max-age=630720000, no-transform, public"
|
|
gzip: true
|
|
- route: "^.+\\.(png|jpg)$"
|
|
headers:
|
|
Cache-Control: "max-age=630720000, no-transform, public"
|
|
gzip: true
|
|
- route: "^.+\\.(html|xml|json)$"
|
|
gzip: true
|
|
|
|
|