Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

emoji: Store in S3 with a long public cache-control.

Alex Vandiver0385e5bab9ad
diff --git a/zerver/lib/upload/s3.py b/zerver/lib/upload/s3.py
index 7259a720fdc..b454242db6c 100644
--- a/zerver/lib/upload/s3.py
+++ b/zerver/lib/upload/s3.py
@@ -384,6 +384,7 @@ class S3UploadBackend(ZulipUploadBackend):
content_type,
user_profile,
image_data,
+ cache_control="public, max-age=31536000, immutable",
)
@override