Daily Shaarli

All links of one day in a single page.

December 29, 2020

"A font-display setting for slow connections", Matt Hobbs (@TheRealNooshu)
thumbnail

If there’s connection one thing I’d like readers to take away from this post it’s that font-display: swap is a very good option for users with a fast internet. But its infinite swap period could be frustrating for users on very slow and unstable connections. If you have users viewing your site under these conditions (I’m pretty certain you will at some point in time), then it may be worth considering font-display: fallback or even font-display: optional. Both have a short swap period (or no swap period), meaning once the fallback font is rendered and the 3 second timeout is exceeded, the font won’t change for the rest of the page lifecycle.

"Creating websites with prefers-reduced-data", Kilian Valkhof (@kilianvalkhof)
thumbnail

Reducing your web pages' size helps with both load time for people with slower internet connections and them having access to your pages in the first place.

"Maximally optimizing image loading for the web in 2021", Malt Ubl (@cramforce)
thumbnail

In this post I'll outline 8 image loading optimization techniques to minimize both the bandwidth used for loading images on the web and the CPU usage for image display.

"A wish list for web performance tools", Fabian Krumbholz (@fabkru)
thumbnail

My goal is to improve the user experience and the business outcome day by day. I am still looking for a tool that tells me what to focus on today to make the most significant impact. As this is the perfect time of the year to create a wish list, here is mine.

"How to Load Fonts in a Way That Fights FOUT and Makes Lighthouse Happy", Adrian Bece (@AdrianBeceDev)

Let’s talk about eliminating font stylesheets as a render-blocking resource, and walk through an optimal setup that not only makes Lighthouse happy, but also overcomes the dreaded flash of unstyled text (FOUT) that usually comes with loading fonts. We’ll do all that with vanilla HTML, CSS, and JavaScript, so it can be applied to any tech stack.

"Publish, ship, and install modern JavaScript for faster applications", Houssein Djirdeh (@hdjirdeh) & Jason Miller (@_developit)
thumbnail

Today, ES2017 is the closest to modern syntax and tools such as npm, Babel, webpack, and Rollup have made it possible to configure your build system and write your packages using this syntax. This post covers several approaches, and you should use the easiest option that works for your use case.