You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.
The current attachment endpoint requires authentication (at least for private posts). This makes the use of CDNs for attachments difficult since they usually don't play nice with authentication and things that can't be cached. A solution would be to perform access control on the attachment endpoint, return private posts directly, and redirect to a CDN for public posts.
Using a CDN seems like a must-have for things like large video posts that could potentially be accessed by a lot of people at the same time.
What I'm asking for is for the option to redirect if needed, self-hosters won't be using CDNs any time soon, but it's going to be needed by large public hosts pretty quickly.
The text was updated successfully, but these errors were encountered:
The current
attachment
endpoint requires authentication (at least for private posts). This makes the use of CDNs for attachments difficult since they usually don't play nice with authentication and things that can't be cached. A solution would be to perform access control on theattachment
endpoint, return private posts directly, and redirect to a CDN for public posts.Using a CDN seems like a must-have for things like large video posts that could potentially be accessed by a lot of people at the same time.
What I'm asking for is for the option to redirect if needed, self-hosters won't be using CDNs any time soon, but it's going to be needed by large public hosts pretty quickly.
The text was updated successfully, but these errors were encountered: