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

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