Add photos and avatars to static/immutable cache (#184)
This commit is contained in:
parent
e67e623405
commit
718daad4a8
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ server {
|
|||
try_files $uri @proxy;
|
||||
}
|
||||
|
||||
location /assets {
|
||||
location ~ ^/(assets|system/media_attachments/files|system/accounts/avatars) {
|
||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue