mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:44:49 +08:00
attempt to cache all emojis
This commit is contained in:
parent
fc90dd3592
commit
89f34eb62b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user