mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Add photos and avatars to static/immutable cache (#184)
This commit is contained in:
parent
e67e623405
commit
718daad4a8
@ -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…
x
Reference in New Issue
Block a user