---
title: "Web Performance Articles: Loading, Rendering, Measuring"
description: "Make pages load and respond faster: preload and preconnect hints, lazy loading, content-visibility, the Scheduler API, and Lighthouse CI to catch regressions."
canonical: "https://www.trevorlasn.com/topics/web-performance"
author: "Trevor I. Lasn"
last-updated: "2026-11-08"
---

# Web Performance Articles: Loading, Rendering, Measuring

Make pages load and respond faster: preload and preconnect hints, lazy loading, content-visibility, the Scheduler API, and Lighthouse CI to catch regressions.

19 current articles on Web performance, newest first. See [every topic](https://www.trevorlasn.com/topics.md).

## 2025

- [Lighthouse CI: Catch Performance Regressions Early](https://www.trevorlasn.com/blog/lighthouse-ci.md): Lighthouse CI fails your builds when performance drops. I run it on every pull request. (2025-11-03)
- [JavaScript compile hints: what they are and when to use them](https://www.trevorlasn.com/blog/javascript-compile-hints.md): V8's compile hints let you control which JavaScript gets compiled immediately during page load (2025-05-12)

## 2024

- [CSS content-visibility: Skip Rendering Offscreen Content](https://www.trevorlasn.com/blog/css-content-visibility.md): content-visibility: auto lets the browser skip layout and paint for offscreen elements until they are needed. How to use it with contain-intrinsic-size. (2024-12-05)
- [link rel=modulepreload: Load JavaScript Modules Sooner](https://www.trevorlasn.com/blog/module-preload.md): rel=modulepreload fetches, parses and compiles an ES module before a script imports it. How to use it, and why each module in the graph needs its own link. (2024-12-04)
- [Web Performance API: Measure What Matters](https://www.trevorlasn.com/blog/performance-web-api-in-javascript.md): From slow to fast: Using JavaScript's Performance API to optimize web apps (2024-11-29)
- [Preload Responsive Images with imagesrcset and imagesizes](https://www.trevorlasn.com/blog/preloading-responsive-images.md): A plain preload link fetches the wrong file for a responsive image. Add imagesrcset and imagesizes to link rel=preload so the browser picks the same image. (2024-11-28)
- [JavaScript Scheduler API: Prioritize Tasks with postTask()](https://www.trevorlasn.com/blog/javascript-scheduler-api.md): scheduler.postTask() runs JavaScript at user-blocking, user-visible or background priority, giving finer control than setTimeout(0) over when work runs. (2024-11-26)
- [WebAssembly (Wasm): When (and When Not) to Use It](https://www.trevorlasn.com/blog/webassembly-when-and-when-not-to-use-it.md): Understanding the real use cases for WebAssembly beyond the performance hype (2024-11-25)
- [CSSOM: How the CSS Object Model Works in the Browser](https://www.trevorlasn.com/blog/css-object-model-cssom.md): The CSSOM, or CSS Object Model, is the browser's map of every style rule. How it is built beside the DOM, how it computes styles, and how to keep it fast. (2024-10-25)
- [Offload Your Third Party Scripts With Cloudflare Zaraz](https://www.trevorlasn.com/blog/cloudflare-zaraz.md): How I used Cloudflare Zaraz to offload third party scripts and improve my website performance. (2024-10-23)
- [Optimize Your Astro Site's <head> with astro-capo](https://www.trevorlasn.com/blog/astro-capo.md): astro-capo sorts your Astro site's head elements into 11 weighted groups so critical tags like charset come first. How to install it and use it in a layout. (2024-10-19)
- [Speculation Rules API: Prefetch and Prerender Next Pages](https://www.trevorlasn.com/blog/speculation-rules-api.md): How the Speculation Rules API improves web performance by prefetching and prerendering future navigations (2024-09-15)
- [Improve PageSpeed Insights Score with Lazy Loading Iframes](https://www.trevorlasn.com/blog/lazy-loading-iframes.md): Set loading=lazy on an iframe and the browser waits to load it until the reader scrolls near. Before-and-after code, the bandwidth saved and browser support. (2024-09-13)
- [Preconnect to Required Origins with rel=preconnect](https://www.trevorlasn.com/blog/preconnect-to-required-origins.md): Using link rel='preconnect' can improve your website's performance by reducing connection setup times to key external domains. (2024-09-13)
- [Understanding Vue's Suspense](https://www.trevorlasn.com/blog/understanding-vue-suspense.md): How the Suspense component manages async dependencies and improves loading states in Vue apps (2024-08-23)

## 2023

- [Speeding Up React Apps with Code Splitting and Lazy Loading](https://www.trevorlasn.com/blog/react-lazy-loading.md): Split a React app's bundle with React.lazy and Suspense, lazy-load routes and CSS, and improve Core Web Vitals, which Google uses as a ranking factor. (2023-12-26)

## 2020

- [The What, Why, and How of Using a Skeleton Loading Screen](https://www.trevorlasn.com/blog/the-what-why-and-how-of-using-a-skeleton-loading-screen.md): Skeleton loading screens enhance user experience and make your app feel faster (2020-11-12)
- [Sharp: Fast Image Resizing and Conversion for Node.js](https://www.trevorlasn.com/blog/sharp-high-performance-node-js-image-processing-library.md): Sharp resizes, rotates and converts images in Node.js. It reads JPEG, PNG, WebP, GIF and SVG and writes WebP, AVIF and more. Code for each common task. (2020-10-28)

## 2019

- [Boost React + Redux Performance with Reselect](https://www.trevorlasn.com/blog/increase-react-redux-application-performance-with-reselect-library.md): Selectors are a powerful tool to optimize state selection and enhance performance in your React and Redux apps. (2019-10-02)
