diff --git a/web/homepage/nginx.nix b/web/homepage/nginx.nix index 100c0cc9e..898045744 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};