mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 17:06:31 -06:00
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
Block a user