Weekly Shaarli

All links of one week in a single page.

Week 37 (September 13, 2021)

"How to Use Puppeteer to Automate Chrome in an API with Netlify Serverless Functions", Colby Fayock (@colbyfayock)

Automation typically includes purely code-based tasks that don’t even think about a browser, but some tasks need to interact and use the browser as a human would like performing a search on a site. How can we leverage tools that can automate the browser and pack it into a serverless API endpoint to make easily accessible?

"HTTP Caching is a Superpower", Hugh Haworth (@elliotclydenz)
thumbnail

You now have a simple, platform-reliant way of preventing unnecessary requests. You have another tool in your belt to save your users time and money. Also you’ve got a way to save a little carbon from being released into our atmosphere to power a server farm. And you can use this tool with any style of website: static file sites, single page applications, and server rendered applications. It’s a superpower.

"How to Eliminate Render-Blocking Resources: a Deep Dive", Sia Karamalegos (@thegreengreek)
thumbnail

Render-blocking resources are a common hurdle to rendering your page faster. They impact your Web Vitals which now impact your SEO. Slow render times also frustrate your users and can cause them to abandon your page.

"How to write about web performance", Nolan Lawson
thumbnail

Writing about browser performance is hard, but it’s not fruitless. I’ve had enough successes over the years (and enough stubbornness and curiosity, I guess) that I keep doing it.

"Improving responsiveness in text inputs", Nolan Lawson
thumbnail

Make use of the requestIdleCallback callback to improve the responsiveness of input while ensuring JS actions during the typing.