Imported assets vs static
Files imported from $lib/assets can be processed. Files in static/ are copied. Convert both: processed imports get a better source; static copies are already WebP.
Why it matters
- Adapters (Cloudflare, Node) have size and CPU limits.
- Portfolio sites store many large PNGs in git.
- Enhanced img still benefits from a sane max width.
How to do it
- Convert
static/and authoring folders. - Keep enhanced:img for srcset.
- Do not commit 10 MB sources 'just in case'.
Settings that work
1600 px / 80% general. 1920 / 75% full-bleed.