FIX: cache emojis for 1 year

This commit is contained in:
Régis Hanol 2014-12-28 11:10:03 +01:00
parent 8edf2afb83
commit 8d03ff6f82
1 changed files with 6 additions and 0 deletions

View File

@ -88,6 +88,12 @@ server {
add_header Cache-Control public;
}
# cache emojis
location ~ /_?emoji/ {
expires 1y;
add_header Cache-Control public;
}
location ~ ^/uploads/ {
# NOTE: it is really annoying that we can't just define headers