|
| |
| 80 is the recommended sweet spot. | |
| Comma-separated. Default: cwebp,imagick,gd. First available wins. AVIF uses its own priority: cavif,imagick,gd. | |
| Default 200. | |
|
| |
|
| |
|
Native (loading="lazy") is the right choice in 2026 — zero JS, 98%+ browser support. Other options for legacy themes. | |
|
| |
|
| |
|
| |
|
Requires cavif binary or ImageMagick/GD compiled with libavif. | |
|
Requires jpegoptim / pngquant / gifsicle binaries. | |
|
Observer on catalog_product_save_after. Synchronous in admin save. | |
|
For each source: emit .mobile.webp + .tablet.webp at configured widths. <picture> emits responsive <source media> tags. Needs Imagick or GD. | |
|
| |
| | |
| | |
|
Only optimize images that frontend customers actually view (vs blanket-optimizing the entire catalog). Frontend page renders enqueue source paths; cron drains the queue every 5 min. Best for huge catalogs where most images are never viewed. Run bin/magento etechflow:pso:process-view-queue --status to see queue stats. | |
| Default 20. Lower if your server is CPU-constrained; higher if the queue grows faster than 4 batches/hr. | |