attempt to cache all emojis

This commit is contained in:
Sam 2017-07-20 17:45:32 -04:00
parent fc90dd3592
commit 89f34eb62b
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ server {
}
# cache emojis
location ~ /_?emoji.*\.(png|gif|jpg|jpeg)$/ {
location ~ /images/emoji/.*\.(png|gif|jpg|jpeg)(\?.*)?$/ {
expires 1y;
add_header Cache-Control public,immutable;
}