HomeMethod

Knowledge

Web VitalsTechniquesSnippetsAnswersImpactsBottlenecks

Techniques

Concrete techniques, visualised. Know what each one does, when to apply it, and what it costs.

Script & Loading

A+

Third-Party Facades

Replace heavy embeds with static previews that load the real widget only on click.

Learn more
B+

Delay JavaScript

Postpone non-critical scripts until after the visitor first interacts with the page.

Learn more
B+

Defer JavaScript

Prevent render-blocking scripts from delaying page rendering.

Learn more
B+

Speculation Rules

Prerender the next page in the background so navigation feels instant.

Learn more
B+

Preload Critical Assets

Tell the browser about critical resources early so it fetches them in parallel with HTML parsing.

Learn more
B

Video Optimization

Compress and format video files correctly so they load fast without sacrificing playback quality.

Learn more
B

Upgrade to HTTP/2

Enable HTTP/2 multiplexing so dozens of resources load in parallel over one connection.

Learn more
C+

Preload Links

Prefetch the next likely page in the background so navigation feels instant when the user clicks.

Learn more
C+

Self-Host Web Fonts

Host font files on your own server to eliminate the Google Fonts DNS and connection overhead.

Learn more
C+

Preload LCP Image

Hint the browser to fetch the hero image early — before it discovers it in CSS or late markup.

Learn more
C+

JavaScript Concatenation

Merge multiple JavaScript files into one bundle to cut HTTP request overhead.

Learn more
C

Third-Party Scripts in Service Worker

Move third-party analytics and tracking scripts off the main thread by running them in a service worker.

Learn more
C

Critical CSS

Extract and inline above-the-fold CSS to eliminate render-blocking stylesheets.

Learn more
C

Async JavaScript

Load independent scripts without blocking HTML parsing, executing them the moment they finish downloading.

Learn more
C

Localize External Resources

Download and self-host third-party scripts, stylesheets, and images to eliminate external DNS and connection overhead.

Learn more
C

Font Subsetting

Remove unused Unicode character ranges from font files to reduce their transfer size.

Learn more
C

Text Compression

Enable Brotli or Gzip on your server to shrink HTML, CSS, and JS by 60–80%.

Learn more
C

HTTP 103 Early Hints

Send preconnect and preload hints to the browser before the server has finished generating the HTML response.

Learn more
C

Early Domain Connection

Warm up connections to critical third-party domains before their resources are requested.

Learn more
C

Eliminate Redirect Chains

Cut unnecessary HTTP redirects that add a full network round-trip before the first byte of HTML.

Learn more
C

Replace Animated GIFs with Video

Convert animated GIFs to WebM or MP4 video to cut file size by 70–90%.

Learn more
D+

Minify CSS and JavaScript

Strip comments, whitespace, and dead code from CSS and JS to reduce transfer and parse time.

Learn more
D+

CSS Concatenation

Merge multiple CSS files into one to reduce HTTP request overhead.

Learn more
D+

Lazyload Images

Defer off-screen images until they near the viewport, reducing initial page weight and freeing bandwidth for critical resources.

Learn more
D+

Lazyload Iframes

Defer iFrame loading until the embed nears the viewport — either via loading="lazy" or IntersectionObserver.

Learn more
D+

Inline Small Assets

Eliminate HTTP requests for small CSS, JS, and images by embedding them directly into the HTML.

Learn more
D

WordPress Heartbeat Control

Reduce or disable the WordPress Heartbeat API to eliminate recurring AJAX polling overhead.

Learn more
D

WordPress Emoji Removal

Remove the WordPress emoji scripts and styles that load on every page for a feature most sites do not need.

Learn more
D

Minify HTML

Strip comments, collapse whitespace, and remove redundant attributes from HTML output to reduce file size.

Learn more
D

Lazyload CSS Backgrounds

Defer CSS background image loading until the element nears the viewport using IntersectionObserver.

Learn more

Caching & Delivery

A+

Edge Page Cache

Cache full HTML at CDN edge nodes — eliminating both PHP execution time and geographic network latency in one step.

Learn more
A

Page Cache

Store fully rendered HTML on disk or in memory so repeat requests skip PHP and database entirely.

Learn more
A

Content Delivery Network

Serve static assets from servers geographically close to each visitor.

Learn more
B+

Service Worker Cache

Cache assets in the browser on first visit so every return visit loads from memory in milliseconds.

Learn more
B

Object Cache (Redis)

Cache WordPress database queries in RAM so repeated lookups take microseconds instead of milliseconds.

Learn more
C+

Cache Preloading (Cache Warming)

Populate the page cache proactively before visitors arrive so no one ever hits an empty cache.

Learn more
C+

Logged-In User Cache

Cache pages for logged-in users instead of bypassing cache for every authenticated request.

Learn more
C+

Stale-While-Revalidate

Serve cached content immediately while refreshing it in the background, eliminating cache-expiry latency spikes.

Learn more
C+

Cache Query Strings

Extend page cache coverage to URLs with query string parameters instead of bypassing them.

Learn more
C

Separate Mobile Cache

Serve a dedicated cached response for mobile visitors when the mobile experience differs from desktop.

Learn more
C

Database Optimization

Remove database bloat and optimize table structure to speed up every query WordPress executes.

Learn more
C

Database Query Cache

Cache the results of expensive or repeated database queries to avoid re-executing them on every request.

Learn more
C

REST API Cache

Cache WordPress REST API responses to serve repeated API requests without PHP or database execution.

Learn more
C

Cache TTL

Control how long cached resources stay fresh before the browser or CDN must re-validate.

Learn more
C

Browser Cache

Store static assets locally so repeat visits skip the network entirely.

Learn more
D+

Autoload Data Optimization

Reduce the autoloaded wp_options data to cut the PHP bootstrap time on every page request.

Learn more

Images & Media

Rendering & Layout

Network & Connections

Support our family now