Published at
Updated at
Reading time

I finished watching Tim Kadlec's Jamstack conf talk "Oh The Scripts We'll Load". Tim dives into the nitty-gritty details of script loading and how JavaScript affects performance. He covers the script element's async and defer attribute, goes into script loading strategies and browser loading priorities. I recommend watching it if you want to learn more.

But I'm not writing this quick post because of Tim's excellent content; I'm writing this post because he showed a tool that I haven't seen before.

Tim Kadlec giving a virtual conference talk with on his screen is a service that you can use for performance testing. It provides publicly available JavaScript and CSS files to include in your sites. The files themselves aren't useful, but the catch is that you can control their performance characteristics via HTTP query parameters. You can define a delay, caching headers, and a response status code.

# a JavaScript file with a 2.5s delay

Using, way you can embed a "slow" JavaScript or CSS file in your site and see how and if this file affects your overall performance.

Great talk, excellent service! Thanks, everybody!

Was this post helpful?
Yes? Cool! You might want to check out Web Weekly for more WebDev shenanigans. The last edition went out 4 days ago.
Stefan standing in the park in front of a green background

About Stefan Judis

Frontend nerd with over ten years of experience, freelance dev, "Today I Learned" blogger, conference speaker, and Open Source maintainer.

Related Topics

Related Articles