Skip to content
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
This repository was archived by the owner on Dec 31, 2020. It is now read-only.

Allow the attachment endpoint to redirect to a CDN location #219

@quentez

Description

@quentez

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions