Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deliver uploaded media directly #37

Open
duritong opened this issue Sep 14, 2020 · 0 comments
Open

Deliver uploaded media directly #37

duritong opened this issue Sep 14, 2020 · 0 comments

Comments

@duritong
Copy link
Contributor

Uploads are just put into a directory and then delivered through the upload url + /media.

Given this is just static content it could also be delivered directly by a webserver (that you might have to use anyway to front the ticker api) and thus not having another round-trip over the API and fetching the UUID from the db.

Currently, this is not easy as the uploads are stored in a timestamped directory tree.

IF the api would publish the uploaded media under a dedicated path (or would include the timestamped path in the media url) then you could just exclude the media/ path to be sent to the API process and deliver content directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant