Picking the Right Tool for Maneuvering JavaScript's Event Loop
Depending on the task, it's helpful to be able to schedule work throughout various parts of the event loop's lifecycle. Let's explore some of the tools available for doing it.
Read ItDepending on the task, it's helpful to be able to schedule work throughout various parts of the event loop's lifecycle. Let's explore some of the tools available for doing it.
Read ItIf you're running Plausible Analytics on a virtual machine (or some other box), you don't need to abide by the default API key rate limit it enforces. Let's walk through how to raise it.
Read ItJavaScript's "with()" statement is effectively deprecated and strongly discouraged from use. But I'm not so sure it's justified.
Read ItIn rare moments, you might want to execute script tags injected with React's dangerouslySetInnerHTML prop. Here's how to make it possible.
Read ItShow me it matters.
Read ItIf you don't, you risk overlooking serious threats to key performance metrics.
Read ItAvoid the pressure to endlessly add new features.
Read ItThere are a surprising number of ways to hide elements in the browser, each with their own trade-offs and advantages. Let's explore some of the classics, as well as a few modern approaches.
Read ItBe careful not to get too caught up in appeasing performance diagnostic tools.
Read ItLet's explore bringing some of the magic of TypeScript's discriminated unions to polymorphic lists in a Spring Boot +Jackson application built with Kotlin.
Read ItThinking back on the process of troubleshooting why a small number of people weren't able to access PicPerf’s .dev domain. Best guess: old firewall rules still block certain TLDs out of caution.
Read ItFor the best performance, there’s no good reason content-focused sites should ever serve an uncached page to a visitor. With modern caching directives and other approaches on the table, it’s easier than ever to preventing visitors from knowing your origin exists at all.
Read ItBy activating the PicPerf WordPress plugin, Jane Ross Tutoring's website saw a drop of 1.2MB in image page weight -- 78% of the total image weight being loaded on the home page.
Read ItI just realized that using the "download" attribute on HTML links works only for same-origin resources by default. Fortunately, the "fix" is pretty simple, as long as you have control over your server’s response headers.
Read ItThe browser is very good at prioritizing resources requests on its own. But it's not always great. Priority hints makes it easy to provide explicit instructions as to how and in what network activity occurs.
Read It