mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 08:55:38 +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
|
# cache emojis
|
||||||
location ~ /_?emoji/ {
|
location ~ /_?emoji.*\.(png|gif|jpg|jpeg)$/ {
|
||||||
expires 1y;
|
expires 1y;
|
||||||
add_header Cache-Control public;
|
add_header Cache-Control public;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user