roles/nginx: Remove 'public' from Cache-Control header
If a max-age is specified the 'public' is implicit. See: https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching
This commit is contained in:
parent
a5f8ab6182
commit
3a8b64a5ab
@ -7,7 +7,7 @@
|
||||
}
|
||||
|
||||
location ~* \.(?:ico|css|js|gif|jpe?g|png|svg)$ {
|
||||
add_header Cache-Control "public, max-age=604800";
|
||||
add_header Cache-Control "max-age=604800";
|
||||
}
|
||||
|
||||
# Add trailing slash to */wp-admin requests.
|
||||
|
Loading…
Reference in New Issue
Block a user