Show navigation

Optimization

Whether you're driven by ethics or the almighty dollar, great web performance is a must. Today we'll start learning how to deliver high-performance web applications.

And how do we put a video on our page?

Further reading

Want to serve different images based on viewport width or pixel density (i.e. retina devices)? That's a great idea, and totally possible thanks to the <picture> element Opens in a new window. However, it's a deep-dive that we don't have time for today. If you want to know more, I highly recommend Jason Grigsby's Responsive Images 1010 Opens in a new window
This 800px-wide image, saved at different "quality" levels from Photoshop express: 100, 80, 60, 30, 15 and 1.
Level 100 - 713kb
Level 80 - 139kb
Level 60 - 94kb
Level 30 - 56kb
Level 15 - 32kb
Level 1 - 6kb
Why optimize?The web's carbon footprintDemocratizing through performanceSearch Engine OptimizationDev tools performance metricsThese metrics make moneyImage typesImage OptimizationBackground images