mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 16:56:39 +08:00
Don't cache urls with emoji
in them unless they are images
This commit is contained in:
parent
e3a80936c8
commit
2866440968
@ -116,7 +116,7 @@ server {
|
||||
}
|
||||
|
||||
# cache emojis
|
||||
location ~ /_?emoji/ {
|
||||
location ~ /_?emoji.*\.(png|gif|jpg|jpeg)$/ {
|
||||
expires 1y;
|
||||
add_header Cache-Control public;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user