Add photos and avatars to static/immutable cache (#184)

This commit is contained in:
Nolan Lawson 2017-05-01 07:57:16 -07:00 committed by wxcafé
parent e67e623405
commit 718daad4a8
1 changed files with 1 additions and 1 deletions

View File

@ -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";
}