Issue №14— Fontastic web performance, async CSS, why performance efforts fail and more!
![]() | Issue 14 |
OPEN SOURCE
Loading CSS asynchronously with preload
Remember the newly released specification allowing us to prioritize and prefetch critical assets? (If not, definitely check out The Critical Request, offering a deep dive into this subject)
Scott Jehl wrote about using preload to asynchronously serve critical CSS. Knowing about the sparse support, folks at Filament Group also released a polyfill enabling link rel="preload" for browsers without this functionality. Yay! ✨
Modern Asynchronous CSS Loading
PRESENTATION
Serving web fonts responsibly with font-display
Monica Dinculescu gave an excellent talk on web font performance at SmashingConf Barcelona. In her demo, she thoroughly explains the lifetime of a web font as well as the intricacies of font-display.
Check it out to learn how to serve web fonts responsibly, with slower connections in mind 👏🏻
RESOURCES
Painting, compositing and getting rid of jank
You might know Lin Clark for her fantastic series explaining coding concepts, Code Cartoons. In her thorough and informative article, Lin describes why rendering at 60fps is important, sheds light on the process of painting and compositing, GPU acceleration and more.
If you want to learn why browsers get janky, have a read. 👩🏻🎓
The whole web at maximum FPS: How WebRender gets rid of jank
RESOURCES
Getting your async functions right
In his short, but sweet article, Jake Archibald explains the subtleties of writing asynchronous functions in JavaScript. If you ever wondered what’s the difference between await, return and await return, look no more. 🕵🏻♀️Await vs Return vs Return await
RESOURCES
Understanding why performance efforts fail
While Kat Busch often refers to hardware performance rather than the Web, her thoughts on approaching performance bottlenecks are very relevant no matter the platform. How do we fix bugs without increasing the complexity of a codebase? How do we focus on the right thing?
🤔
The Rules of Optimization: Why So Many Performance Efforts Fail
RESOURCES
How fast is JavaScript?
JavaScript popularity is proliferating and the favourite scripting language many times has been dubbed as the fastest out there. Is it though? You will never know what happens next! 😂
🙇🏻♀️ To Franziska Hinkelmann, an engineer working on the V8 engine, for thoughtful benchmarks.
Speed up Your Node.js App with Native Addons
Spread the word about perf.email |
