This website requires JavaScript.
Explore
Help
Sign In
jamey
/
berrypod
Watch
1
Star
0
Fork
0
You've already forked berrypod
Code
Issues
Pull Requests
Actions
Packages
Projects
1
Releases
Wiki
Activity
Files
544c83ad0fe218abd5b33c554abb0c2c41ca6513
berrypod
/
priv
/
static
/
mockups
/
sunset-gradient-tote-2.webp
70 lines
19 KiB
Plaintext
Raw
Normal View
History
Unescape
Escape
feat: optimize mockup images with WebP and auto-regeneration Convert mockup source images from JPG to WebP format for 76% size reduction (20MB → 4.7MB). Variants are now auto-generated on startup via Oban, keeping the same DRY approach as database images. Changes: - Add OptimizeWorker.enqueue_mockup/1 for filesystem images - Extend VariantCache to check mockup sources on startup - Update MockupGenerator to save source as optimized WebP - Update .gitignore to ignore generated variants - Convert 55 source mockups from JPG to WebP The mockup pipeline now uses the same code paths as database images: - Optimizer.to_optimized_webp/1 for source conversion - Optimizer.process_file/3 for variant generation - OptimizeWorker for Oban background processing - VariantCache for startup cache validation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 00:30:42 +00:00
RIFFvK