This site scores 100 in all four Google PageSpeed categories (Performance, Accessibility, Best Practices and SEO) on both mobile and desktop. It does that with animations, a live terminal and a theme switcher on the page. Here is what I did, in order.
1. Few plugins, a lean base
Only three plugins run on the site: page caching, multilingual and SEO. The theme is WordPress’s own block theme. No page builder, no slider plugin. Most of a perfect score comes from not carrying unnecessary weight in the first place.
2. Pages are served as ready-made HTML
With page caching, visitors get pre-built HTML without a trip to the database. Server response stays in the range of milliseconds, and every other improvement builds on that.
3. No stylesheet file, styles live in the page
A browser cannot paint anything while it waits for a separate CSS file. So I inlined the site’s styles into the HTML itself. There is no extra request left to wait for before the first paint.
4. One font file, preloaded
- Headings and body text share one font family, and the file is requested up front with
preload. font-display: swapshows text in a system font until the web font arrives.- I removed WordPress’s default emoji script, one more unused request gone.
For example, to preload the font and keep text visible while it loads:
<link rel="preload" href="/fonts/manrope.woff2" as="font" type="font/woff2" crossorigin>
/* text shows in a system font until the web font arrives */
@font-face {
font-family: "Manrope";
src: url("/fonts/manrope.woff2") format("woff2");
font-display: swap;
}
5. Images: WebP, the right size, the right priority
Every image is WebP. Each one has an explicit width and height, so nothing shifts while the page loads. The image at the top loads with priority; the ones further down only load as you approach them.
6. Animations don’t have to cost points
All effects live in one small, deferred JavaScript file. Animations only use transform and opacity, so they never force layout work. For visitors who prefer reduced motion, they switch off on their own.
7. Best Practices: security headers
HTTPS alone is not enough for a full score here. I added HSTS, a content security policy (CSP) with a key regenerated on every page view, and Trusted Types. Beyond the score, they make the site genuinely safer.
A perfect score doesn’t come from one magic setting. It’s the sum of dozens of small decisions, and the most effective ones are the things you choose not to add.
The result: the largest content paints in about 0.9 seconds on mobile and 0.4 seconds on desktop. Between runs the performance score sometimes moves between 99 and 100, which is normal. If you’d like to work on your site’s speed together, write to me.




