Published at
Updated at
Reading time
1min

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 slowfil.es on his screen

slowfil.es 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
https://slowfil.es/file?type=js&delay=2500

Using slowfil.es, 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!

If you enjoyed this article...

Join 5.5k readers and learn something new every week with Web Weekly.

Web Weekly — Your friendly Web Dev newsletter
Reply to this post and share your thoughts via good old email.
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