Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to serve videos from Digital Ocean?
I am using an Express App with Create React App. I want to serve videos for an education website but restrict access to users only logged in.
My understanding is I can use a digital ocean space to serve content through a CDN using an API key. So my server would make the request with the API key.
Then serve the content to the client. What I am not sure about is what is the point of having a CDN if the content is downloaded to the server and sent to the client. Can you have the content go straight from the CDN to the client?
Without having to store the API key in the front end?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×