simpleshop_theme/test/simpleshop_theme
Jamey Greenwood 2bc05097b9 feat: enhance image optimization with on-demand JPEG fallbacks
Improve the image optimization pipeline with better compression and
smarter variant generation:

- Change to_lossless_webp → to_optimized_webp (lossy, quality 90)
- Auto-resize uploads larger than 2000px to save storage
- Skip pre-generating JPEG variants (~50% disk savings)
- Add on-demand JPEG generation for legacy browsers (<5% of users)
- Add /images/:id/variant/:width route for dynamic serving
- Add VariantCache to supervision tree for startup validation
- Add image_cache to static paths for disk-based serving

The pipeline now stores smaller WebP sources and generates AVIF/WebP
variants upfront, with JPEG generated only when legacy browsers request it.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 00:33:09 +00:00
..
images feat: enhance image optimization with on-demand JPEG fallbacks 2026-01-25 00:33:09 +00:00
media feat: add dark mode support, accordion UI, and current combination display 2025-12-31 18:55:44 +00:00
theme feat: add product sorting to collection pages with tests 2026-01-19 23:38:22 +00:00
accounts_test.exs mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00
media_test.exs feat: add Settings and Media contexts with theme settings schema 2025-12-30 21:35:52 +00:00
settings_test.exs test: add settings → CSS cache invalidation test 2026-01-19 21:21:08 +00:00