Case study · bluebanana.ca
Chasing a perfect PageSpeed score, on our own website.
I tell clients that speed and accessibility matter. So when this website launched, I ran it through Google’s PageSpeed Insights and set a goal: 100 in every category, on mobile and desktop, and a clean pass on Google’s new checks for AI agents. Here’s what it took, including the parts that didn’t go to plan.
Mobile
- 100Performance
- 100Accessibility
- 100Best Practices
- 100SEO
Desktop
- 100Performance
- 100Accessibility
- 100Best Practices
- 100SEO
3/3Agentic Browsing Google’s new checks for AI agents: all passed
PageSpeed Insights report for https://bluebanana.ca/, November 23, 2026. Agentic Browsing re-tested November 24, 2026.
The starting point
Already fast. Not yet perfect.
This website was built by hand, without WordPress, a page builder or a pile of plugins. The fundamentals were in place from day one:
- Plain, static pages that the server can send instantly
- Fonts hosted on our own server, not borrowed from Google Fonts
- Modern AVIF and WebP images, each offered in several sizes
- Every image given its width and height, so nothing jumps around while loading
- One small script that waits until the page has appeared
- Brotli compression and year-long browser caching on the server
The first test after launch came back with 100 for Performance on desktop and 99 on mobile. Most website owners would frame that and move on. But Accessibility stood at 91 on both, and PageSpeed’s mobile test flagged a handful of smaller issues. Close isn’t the same as finished.
The journey
Five fixes, in the order we made them.
PageSpeed Insights is good at telling you what’s wrong. Working out why, and fixing it without spoiling the design, is the real job.
-
A grey note that was a little too grey.
A small line of text on the homepage’s blue section had a contrast ratio of 4.26:1. The accessibility standard asks for at least 4.5:1, so people with low vision may struggle to read it. A slightly lighter shade brought it to 5.3:1. It still reads as a quiet aside, just a clearer one.
Accessibility issue fixed -
Links that relied on colour alone.
In the footer, the Calgary, Edmonton and Red Deer links sat inside a sentence and differed from the text around them only by colour, at a ratio of just 1.45:1. Anyone who can’t see that difference wouldn’t know they were links. A subtle underline solved it.
Accessibility: 91 → 100 -
The stylesheet that held up the show.
PageSpeed tests mobile on a simulated mid-range phone over a slow 4G connection. On that phone, the browser couldn’t paint anything until it had downloaded the stylesheet, and only then did it discover the fonts for the big “Extraordinary Website” headline. That chain took about half a second. The fix: the build now places the styles directly inside each page, so the phone can start drawing the moment the page arrives.
Mobile Speed Index: 3.9 s → 2.2 s -
A logo three times larger than it needed to be.
Phones were downloading a 32 KB logo to display it 150 pixels wide. We now offer it in three sizes and two modern formats, and each device picks the smallest one that stays sharp. On a typical phone the logo is now 7–11 KB.
Image savings: 47 KiB → 22 KiB -
A 29-millisecond hiccup.
The script that adds a shadow under the header when you scroll asked the browser for the scroll position while the page was still being laid out. That forces the browser to stop and measure everything early. Now an invisible marker at the top of the page tells the script when it scrolls away, and the browser reports that in its own good time.
Forced reflow: gone
The results
Before and after, side by side.
| Mobile test | Before the fixes | After the fixes |
|---|---|---|
| Performance | 99 | 100 |
| Accessibility | 91 | 100 |
| Best Practices | 100 | 100 |
| SEO | 100 | 100 |
| Speed Index | 3.9 s | 0.9 s |
| First Contentful Paint | 0.9 s | 0.9 s |
| Largest Contentful Paint | 1.8 s | 1.8 s |
| Total Blocking Time | 0 ms | 0 ms |
| Cumulative Layout Shift | 0 | 0 |
“Before” scores are from the first test after launch; “before” timings are from the last mobile test before the speed fixes. On desktop, the final run scored 100 in all four categories, with the page fully painted in 0.4 seconds.
The new frontier
Ready for people. Ready for AI, too.
More and more, the first visitor to a website isn’t a person. It’s an AI assistant reading the page on someone’s behalf, to answer a question, compare businesses or book an appointment. In 2026 Google added an experimental Agentic Browsing category to PageSpeed Insights to measure how ready a website is for those visitors.
Agentic Browsing doesn’t give a score out of 100. Each check simply passes or fails. Among other things, it asks whether a machine can make sense of the page’s structure, and whether the content stays put once it has loaded so an AI agent doesn’t click the wrong thing.
Most of that came from the same work as everything above:
- Accessibility. AI agents read a page much as a screen reader does. Clear headings, labelled links and buttons, and proper form labels serve both.
- Zero layout shift. Every image has its size reserved, so nothing moves after the page appears.
- Real HTML, not JavaScript. Every word is in the page itself, not assembled later by a script that an AI may never run.
- Structured data. Each page tells search engines and AI systems, in their own language, who we are, what we offer and where we work.
Then we added one extra made just for AI visitors. Every page now has a plain-text Markdown copy, the format AI tools read most easily, without the design, menus and code around it. A site directory at /llms.txt points AI assistants to all of them. Both are generated from the same source as the web pages, so they always match.
Our first test showed two Agentic Browsing checks, both passed. The day after the Markdown copies went live, the category reported three checks, all passed. Google doesn’t say exactly which change earns the third check, but the Markdown copies are the most likely reason.
The lesson for business owners: good AI visibility isn’t a trick bolted on afterwards. It starts with a website built carefully for people, and a few thoughtful extras take it the rest of the way.
The honest part
Scores wobble. Good foundations don’t.
Halfway through, one test came back with mobile at 98 and the Speed Index back up at 3.8 seconds. Nothing had broken. PageSpeed runs on Google’s shared servers, and a busy moment can make the same page look slower. The next two runs both came back at 100 across the board.
Adding the Markdown copies taught us a lesson too. Our first version of the server rule handed the Markdown copy to any visitor that mentioned Markdown at all, even if it asked for the normal web page first. PageSpeed Insights appears to ask that way, because it suddenly couldn’t test the site. We tightened the rule so only tools that genuinely prefer Markdown get it, and the scores came straight back. A good reminder to test from every angle, not just the obvious ones.
So we don’t promise every website a perfect score. Some need a live chat widget, a booking system or a video, and each one has a cost. What we do promise is to build on foundations that make high scores possible, and to treat any score below 90 as a problem to solve, not a fact of life.
Why bother? A faster website keeps more visitors, works better on weak phone signals, and gives Google one less reason to prefer a competitor. An accessible one works for everyone, including the roughly one in four Canadians who live with a disability.
Curious how your website scores?
Send me your address and I’ll tell you, in plain English, what’s slowing it down and what’s worth fixing.
No hard sell. Just a useful conversation.
