This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
David Taylor badd64ceee
PERF: Add GlobalSetting to redirect avatars instead of proxying (#19281)
When uploads are stored on S3, by default Discourse will fetch the avatars and proxy them through to the requesting client. This is simple, but it can lead to significant inbound/outbound network load in the hosting environment.

This commit adds an optional redirect_avatar_requests GlobalSetting. When enabled, requests for user avatars will be redirected to the S3 asset instead of being proxied. This adds an extra round-trip for clients, but it should significantly reduce server load. To mitigate that extra round-trip for clients, a CDN with 'follow redirect' capability could be used.
2022-12-02 10:07:25 +00:00
..
assets UX: Improve UI of group delete dialog (#19292) 2022-12-02 12:01:25 +08:00
controllers PERF: Add GlobalSetting to redirect avatars instead of proxying (#19281) 2022-12-02 10:07:25 +00:00
helpers Meta topic: https://meta.discourse.org/t/meta-theme-color-is-not-respecting-current-color-scheme/239815 (#18832) 2022-11-07 10:06:26 +03:00
jobs FIX: Exclude claimed reviewables from user menu (#19179) 2022-12-01 07:09:57 +08:00
mailers SECURITY: Filter tags in user notifications for visibility (#19239) 2022-11-29 10:35:41 -06:00
models DEV: Centralise logic for updating sidebar section links (#19275) 2022-12-01 09:32:35 +08:00
serializers DEV: Upgrade Topic Timeline to Glimmer (#17377) 2022-12-01 13:50:44 -06:00
services DEV: Centralise logic for updating sidebar section links (#19275) 2022-12-01 09:32:35 +08:00
views FIX: relative URL routing on ember-cli only page 2022-12-01 14:47:48 -08:00