Monthly Shaarli

All links of one month in a single page.

September, 2019

"Performance metrics for blazingly fast web apps", Conrad Irwin (@conradirwin)
thumbnail

Performance metrics are surprisingly challenging to get right.

"Speeding up the web with the Save-Data header", Matt Hobbs (@TheRealNooshu)

So with a little bit of JavaScript, backend code and some thought, it is possible to deliver your website using less data.

"5G Will Definitely Make the Web Slower, Maybe", Scott Jehl (@scottjehl)
thumbnail

Yes, we need to better prioritize our asset delivery, but most importantly, we need to stop delivering so much JavaScript. We need to audit our script inventory, and scrutinize our 3rd party integrations regularly, as many of these packages are abandoned or meant to be short-lived.

"Page visibility and performance metrics", Eryk Napierała (@erykpiast) and Paweł Lesiecki (@liseuek)

We believe that data from inactive tabs should be considered unnecessary and distorting the picture.

Interesting take, even if I find it ambiguous to use "FirstMeaningfulPaint" for a Custom Metric. The issue with data from inactive tabs once again highlight that one should always back up their RUM findings with Synthetic Monitoring.

"Do you still need a cookieless domain for your assets?", Kevin Raynel (@kraynl)
thumbnail

Stop using cookieless domains, start migrating to HTTP/2!

"How Web Content Can Affect Power Usage", Benjamin Poulain (@awfulben) & Simon Fraser (@smfr)
thumbnail

Webpages can be good citizens of battery life. It’s important to measure the battery impact in Web Inspector and drive those costs down. Doing so improves the user experience and battery life.

"Lazy load embedded YouTube videos", Arthur Corenzan
thumbnail

This way all the users will have to download upfront is the cover image, which seems pretty reasonable to me.

"Faster Image Loading With Embedded Image Previews", Christoph Erdmann (@McSodbrenner)
thumbnail

The Embedded Image Preview (EIP) technique introduced in this article allows us to load preview images during lazy loading using progressive JPEGs, Ajax and HTTP range requests without having to transfer additional data.

"Why I'm preloading a font even when I shouldn't have to", Alex Painter (@alexrp)

Browsers don't always behave as we would want or expect them to, but we do have tools at our disposal to steer that behaviour towards the result we want.

[Slides] "Performance… It’s for People!", Andy Davies (@andydavies)
thumbnail

This talk looks at our perception of performance, some of the issues and challenges with our current approach to designing and delivering fast experiences.
[…]
How we design, develop and deliver our pages determines our visitor's experience.

"A/B testing : incontournable en marketing, à manier avec prudence pour la webperf", Jean-Pierre Vincent (@theystolemynick) interviewé par Sarah Salis.

Pour éviter l’effet de flickering, l’internaute voit une page blanche en attendant que la page définie dans le cadre du test A/B s’exécute et s’affiche. Autrement dit, l’affichage est volontairement ralenti pour éviter de servir une première version de page qui disparaîtrait pour laisser place à celle qui doit s’afficher pour le test.

"Making Instagram.com faster: Part 2", Glenn Conner (@mr_sharpoblunto)

Early Flush the HTTP response, for faster head interpretation

"Making Instagram.com faster: Part 1", Glenn Conner (@mr_sharpoblunto)

Preloading and prefetching to optimize Instagram feed performance

[Talk] "Next-generation of Image Formats for the Internet", Jon Sneyers (@jonsneyers)
thumbnail

For 27 years, JPEG has been the workhorse image format. While universally adopted, it doesn’t address many modern use cases including high dynamic range (HDR), transparency, responsive web, lossless and others.

"Should you be using Web Workers? (hint: probably not)", David Gilbertson (@D__Gilbertson)
thumbnail

[Apart from 2 very specific cases where treatments needed to be done without the user request] I have seen exactly zero other instances where Web Workers would have improved the user experience.

"Establish network connections early to improve perceived page speed", Milica Mihajlija (@bibydigital)

Adding rel=preconnect to a <link> informs the browser that your page intends to establish a connection to another domain, and that you'd like the process to start as soon as possible.

"Sécuriser une API REST : tout ce qu’il faut savoir", Renaud Dahl (@RenaudDahl)

Cet article a pour but d’expliquer comment exposer, sans danger, votre API sur le web… et par conséquent à votre entreprise ! Sans oublier les deux objectifs d’une stratégie de sécurisation d’application : mener la vie dure aux attaquants potentiels, tout en facilitant la vie des consommateurs légitimes.

"Wikipedia's JavaScript initialisation on a budget", Timo Tijhof (@TimoTijhof)

Wikipedia reduceds the JS initial payload to fit within a budget of 28 KB. In total, the year-long effort is saving 4.3 Terabytes a day of bandwidth on our users' page views.

"Investigate animation performance with DevTools", Milica Mihajlija (@bibydigital)

To make sure your animations don’t cause performance issues, consider the impact of animating a given CSS property. Avoid layout recalculations and minimize repaints. Where you can, stick to changing transforms and opacity.

"PWA : pour une expérience mobile plus légère", Laurent Devernay (@ldevernay)

Les fonctionnalités sont nombreuses et permettent d’améliorer grandement l’expérience utilisateur. L’impact écologique est moindre, ce qui n’est pas négligeable non plus.

[Slides] "More Than You Ever Wanted to Know About Resource Hints", Harry Roberts (@csswizardry)
thumbnail

Let’s take a look at all of the different Resource Hints we have available to us, real-world examples of how best to use them, and learn about some of the more obscure intricacies and gotchas that we need to be aware of if we want to really get the best out of them (and to make sure that we really are being smarter than the browser).

"Web Performance: Minimising DOM Reflow/Layout Thrashing", Charis Theodoulou (@CharisTheodoul1)

DOM reflow or layout thrashing should always be kept at a minimum in order to increase performance and provide a fluid, nonblocking user experience.

"We are changing how we measure at @airbnb, @airbnbeng", Andrew Scheuermann (@a15n_)
thumbnail

We now track a Page Performance Score based off of four user-centric metrics: (TT)FCP, (TT)FMP, FID, and TBT.

"Measuring Cumulative Layout Shift (CLS) in WebPageTest", Rick Viscomi (@rick_viscomi)
thumbnail

Cumulative Layout Shift (CLS) is a relatively new metric to help you understand the delightfulness of the user experience.

"Prefetching, preloading, prebrowsing", Robin Rendle (@robinrendle)
thumbnail

Predicting what our users will do next is difficult, and it certainly requires a lot of planning and testing. But, the performance benefits are definitely worth chasing.