Merge pull request '(iacore.conf) fix Cache-Control stale' (#5) from iacore/nginx:iacore-patch-1 into main

Reviewed-on: #5
This commit is contained in:
Anthony Wang 2023-04-13 23:50:29 +00:00
commit 85af427d7e

View file

@ -14,6 +14,6 @@ server {
}
location ~* .(eot|otf|woff|ttf|css|js|svg|jpg|jpeg|gif|png|ico|bmp|webp)$ {
add_header Cache-Control max-age=35436000;
add_header Cache-Control stale-while-revalidate=604800;
}
}