Report this

What is the reason for this report?

How to serve videos from Digital Ocean?

Posted on December 28, 2021

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?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.