Use one year as default cache TTL
This commit is contained in:
parent
4a229657fd
commit
3869706922
|
@ -12,7 +12,7 @@
|
|||
# https://nginx.org/en/docs/http/ngx_http_headers_module.html#expires
|
||||
|
||||
map $sent_http_content_type $expires {
|
||||
default 1M;
|
||||
default 1y;
|
||||
|
||||
# No content
|
||||
"" off;
|
||||
|
|
Loading…
Reference in New Issue