Parsing HTML in order to load a full web page is a complex process. On the one hand the browser needs to discover external resources as soon as possible. On the other hand, those same resources can in some cases block the browser’s HTML parser, as it may change the eventual result. Over the years, developers have implemented mechanisms in browsers to cope with this issue and ensure that resources are discovered even if the parser is blocked.
Yoav Weiss discusses these mechanisms and recent development efforts in the area and shares ways that developers can help the browser discover resources. Yoav then explores “link rel=preload”, a new link relation that can help us improve the browser’s resource discovery process, create various interesting new resource loading patterns, and get us faster-loading web pages.
Yoav Weiss is a principal architect at Akamai, where he focuses on making the web platform faster by adding performance-related features to browsers as well as to Akamai’s CDN. Yoav has been working on mobile web performance for longer than he cares to admit. He takes image bloat on the web as a personal insult, which is why he joined the Responsive Image community group and implemented the various responsive images features in Blink and WebKit. When he’s not writing code, he’s probably slapping his bass, mowing the lawn in the French countryside, or playing board games with his family.
©2016, O’Reilly UK Ltd • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • email@example.com