VikeLabs / lecshare

A React application with typescript implementation: Making lectures more accessible for students with auditory, visual, or learning impairments; and Improving learning outcomes for students in lecture-based courses.
https://vikelabs.github.io/lecshare/
GNU General Public License v3.0
5 stars 3 forks source link

Integrate CDN with S3 #68

Open aomi opened 4 years ago

aomi commented 4 years ago

Serving files from S3 can become very expensive as well as poor performance by just not having a CDN.

BunnyCDN is a very low-cost CDN service which integrates with any S3-compatible objective storage service (DigitalOcean Spaces, Backblaze, Wasabi etc) but for the time being, just using AWS S3 with Bunny CDN seems like a very good idea.

We can generate pre-signed links that allow access by a per-request basis with custom expiration time.