The project is on Django and DRF on aws. Files on aws s3.
Task: need a feed with content (pictures, videos, animations).
Each image should be multiple thumbnails with different sizes.
GIF and video had to be converted to mp4.
How best to implement, to avoid sags performance\query time?
To convert I think when you save.
For miniatures I think to use https://github.com/jazzband/sorl-thumbnail,
but not sure how to do everything competently.
sorl does cache of thumbnails. To keep it also on s3 or something on the type of redis?
In post_save it is necessary to cut the thumbnails into the cache?
Can someone tell me good practices or articles on this topic, or just throw a couple of thoughts I would be grateful.