Your own 'Images as a Service'
summary
Pages average over 2MB and images dominate that growth, so a tiny service that resizes on demand can cut bytes dramatically: a Sinatra app using Dragonfly and ImageMagick on Heroku fetching originals from S3 and serving via CDN, written as 100 lines of code, produces responsive srcset/picture images and can save ~85% over naïve resizes. Benchmarks (ab -n1000 -c20) show transforms cost ~2–2.5× time but give much smaller transfers; very large originals (6MB) can overload simple instances, so aggressive CDN caching is required.
AI-written summary · about
chapters (7)
- 0:00Intro
- 1:13Images are service
- 3:29History Animation
- 5:17The Future
- 14:08Image Sizes
- 19:16Performance
- 26:11Alternatives
related talks
41mDeliver Perfect Images At Any Size
25mDelivering Fast and Beautiful Images and Video
27mA primer on performance
30mReimagining the image pipeline at Squarespace
45mThe image problem of the web and how to solve it…
28mFaster websites: integrating next-gen images in your...
45mA picture is worth a thousand…kilobytes.
44mImage Optimization for eCommerce websites
