I am creating an application with Vue.js and Django. I am getting a list of videos from AWS S3 and I am displaying it in the frontend. Now I need to create thumbnails for these videos? I want to know what is the best practice to generate the thumbnails? Should I:
- Should I generate thumbnails on the frontend side each time it receives videos?
- Should I generate thumbnails on the backend side each time videos are requested?
- Should I generate thumbnails on the backend and save them in the storage and then send them when the videos are requested?
Currently, I am finding solutions on how to generate thumbnails on the frontend or how to save them but no one is discussing which is the best way to do it.