From 2bac7ad278a622e70e0618c6f87a1bf6967aafc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 11 Oct 2022 16:42:38 +0200 Subject: [PATCH] readme: Adjust cache value in example Close #52 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e847d04..a7b52f3 100644 --- a/README.md +++ b/README.md @@ -114,13 +114,13 @@ Example: ```yaml routes: - route: "^.+\\.(js|css|svg|ttf)$" - # cache static assets for 20 years + # cache static assets for 1 year. headers: - Cache-Control: "max-age=630720000, no-transform, public" + Cache-Control: "max-age=31536000, no-transform, public" gzip: true - route: "^.+\\.(png|jpg)$" headers: - Cache-Control: "max-age=630720000, no-transform, public" + Cache-Control: "max-age=31536000, no-transform, public" gzip: false - route: "^.+\\.(html|xml|json)$" gzip: true