forked from exozyme/nginx
(iacore.conf) fix Cache-Control stale
This commit is contained in:
parent
e07b0dd49d
commit
c090dd6ad2
|
@ -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