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:
commit
85af427d7e
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue