- Published on
How I Improved My Website Performance Using UploadThing
- Authors
- Name
- El Mehdi Chemaa
- @mehdichemaa

In my portfolio website MehdiChemaa.Com, initially I was serving MP4 files with HTML, CSS, and JS. The MP4 files were getting fetched all at once, and wouldn't play until they are fully downloaded. Since they are large files, this was blocking the main thread, which resulted in freezing the UI.

To overcome this, I used a Cloud Storage provider UploadThing. What it does is, it serves those files in chunks which keeps the UI functional, even if they are not fully downloaded. 
