FIX: cache emojis for 1 year
This commit is contained in:
parent
8edf2afb83
commit
8d03ff6f82
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue