Commit c88d893
Changed files (1)
nginx
nginx/nginx.conf
@@ -35,6 +35,8 @@ http {
map $uri $cachecontrol {
default "public, s-maxage=31536000, stale-if-error=3600";
"~^/style\.min\..*\.css$" "public, max-age=31536000, s-maxage=31536000, stale-if-error=3600, immutable";
+ # hugo processed images have a hash
+ "~^.*_hu.*\.(jpg|jpeg|png|gif|webp|avif)$" "public, max-age=31536000, s-maxage=31536000, stale-if-error=3600, immutable";
}
server {