Posts
-
Why Am I Getting a 502 Bad Gateway After Turning on Plausible?
If you've ever gotten a "bad gateway" error from your self-hosted instance of Plausible Analytics, there are a couple of things you might try first.
Read It -
How to Back Up Your Self-Hosted Plausible Analytics Data
Backing up your data is critical for effectively any self-hosted application. Let's explore how you can make it happen for Plausible Analytics.
Read It -
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 It -
Raise the API Rate Limit for a Self-Hosted Instance of Plausible
If 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 It -
Let's Bring Back JavaScript's `with()` Statement
JavaScript's "with()" statement is effectively deprecated and strongly discouraged from use. But I'm not so sure it's justified.
Read It -
Executing Dangerously Injected Scripts Inside React Components
In rare moments, you might want to execute script tags injected with React's dangerouslySetInnerHTML prop. Here's how to make it possible.
Read It -
"Server-rendering your UI is expensive!"
Show me it matters.
Read It -
You should still look at your site with JavaScript disabled.
If you don't, you risk overlooking serious threats to key performance metrics.
Read It -
Strive for Being "Feature-Complete"
Avoid the pressure to endlessly add new features.
Read It -
There Are a Lot of Ways to Hide Stuff in the Browser
There 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 It -
Lighthouse is Not Your User
Be careful not to get too caught up in appeasing performance diagnostic tools.
Read It -
Deserializing Polymorphic Lists with Kotlin, Jackson, and Spring Boot
Let'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 It -
For Maximum Accessibility, Be Careful About Using a .dev Domain
Thinking 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 It -
Don't Let Visitors Know Your Origin Server Exists
For 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 It -
PicPerf's Impact on Jane Ross Tutoring's Website
By 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 It