2019-01-18 20:53:09 +00:00
|
|
|
routes:
|
2019-01-19 15:30:43 +00:00
|
|
|
- route: "^.+\\.(js|css|svg|ttf|eot|woff|otf|png|jpg)$"
|
2019-01-18 20:53:09 +00:00
|
|
|
# cache static assets for 20 years
|
|
|
|
headers:
|
|
|
|
Cache-Control: "max-age=630720000, no-transform, public"
|
|
|
|
gzip: true
|
|
|
|
- route: "^.+\\.(html|xml|json|js)$"
|
|
|
|
gzip: true
|