static vs media
Static files are yours: convert the folder. Media files are users': validate, resize, encode WebP (or JPEG fallback) in a pre_save or celery task.
Why it matters
- WhiteNoise/S3 will happily serve a 5 MB PNG forever.
- Thumbnails generated from huge originals are slow.
- Admin list thumbnails become painful.
How to do it
- Convert
static/imgto WebP. - Update templates to
.webp. - For ImageField, max 2000 px and quality 80.
Settings that work
Same as other backends: 80% photos, 90% UI, cap width to layout.