mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: cache emojis for 1 year
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user