Don't cache urls with emoji in them unless they are images

This commit is contained in:
Robin Ward 2015-09-08 13:12:11 -04:00
parent e3a80936c8
commit 2866440968

View File

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