mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
attempt to cache all emojis
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user