diff options
author | Vincent Ambo <tazjin@google.com> | 2020-02-09T21·05+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-02-09T21·05+0000 |
commit | 386692d39d1dd9e437940f384f9abe33d066579e (patch) | |
tree | 783413d837452036e6adf0ee0e615b2db182e2b6 | |
parent | 74a78de081a57c2196c3231f68cd1f9aeffb627b (diff) |
chore(web/homepage): Configure caching for fonts & images r/516
-rw-r--r-- | web/homepage/nginx.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/homepage/nginx.nix b/web/homepage/nginx.nix index 100c0cc9ee3a..89804574477d 100644 --- a/web/homepage/nginx.nix +++ b/web/homepage/nginx.nix @@ -49,6 +49,10 @@ let ${oldRedirects} + location ~* \.(webp|woff2)$ { + add_header Cache-Control "public, max-age=31536000"; + } + location /blog { alias ${blog.rendered}; |