PageSpeed 100 and agentic browsing on Cloudflare Pages: the checklist behind our static sites

What it takes for a static site on Cloudflare Pages to score 100 in all four PageSpeed categories with nothing red in the audit list, and to pass Lighthouse's new agentic browsing checks for AI agents.

Published · 4 min read · Flowsmith editorialwebperformanceAI discoverability

A minimal analog gauge with a blank dial stands on a dark workbench, its slim needle at the far right, with a thin blue arc of light along the edge.
Illustration drawn for this article. No text in the image, so it works in every language.
In short
  • Our rule for every public site: 100 in all four PageSpeed categories, on mobile and desktop, and nothing red in the detailed audit list even when the score already says 100.
  • On a static site on Cloudflare Pages that is mostly discipline: self-hosted fonts, images at the size shown, no third-party scripts, explicit caching headers.
  • AI agents are a second audience. Lighthouse's experimental agentic browsing category checks the accessibility tree, layout stability, llms.txt and WebMCP on forms. We aim for every applicable check to pass.
  • Green once is easy. A daily scan keeps it green.

Our earlier article on Core Web Vitals explained the metrics and how one change, self-hosting fonts, moved our homepage from 90 to 96 on mobile. This one is the checklist we now apply to every static site we publish on Cloudflare Pages, and the newer target next to it: making the page easy for AI agents, not only for people.

The rule: 100, and nothing red

PageSpeed Insights reports four categories: performance, accessibility, best practices and SEO. Our target is 100 in each, on mobile and desktop. The second half of the rule matters as much: no red items in the detailed audit list, even when the score is already 100. The score is weighted and rounded, so a page can show 100 while the list still flags an image without dimensions or a button without a name. Those are cheap to fix and real for the people and agents who hit them.

The performance score is a lab test on one simulated mid-range phone. It is not what your visitors experience, but on a small site with little traffic it is the best guide you have, and it is repeatable.

The checklist for a static site

Fonts

  • Host fonts yourself as WOFF2, split into Latin and Latin Extended so a Czech page does not download glyphs it never uses.
  • Preload only the one or two weights that render above the fold, and use font-display: swap.

Images

  • Serve AVIF with a WebP fallback, at the size the image is shown, with a srcset for small screens.
  • Give every image width and height, load the first one eagerly with high priority and the rest lazily.
  • Illustrations on a dark, calm background compress far better than busy photos. That is a design choice with a performance payoff.

Scripts

  • No third-party script on content pages: no chat widget, no tag manager, no CAPTCHA on a lesson. Our newsletter form uses a honeypot and server-side rate limits instead.
  • What remains is small, same-origin and deferred.

Cloudflare Pages headers

  • A _headers file sets caching explicitly: HTML always revalidates, CSS and JS for a few minutes, images for a month, fonts for a year because their names never change.
  • Security headers count toward best practices: HSTS, X-Content-Type-Options, a referrer policy, a permissions policy.
  • Redirect www to the apex once, at the edge, so no page pays for a redirect chain.

Accessibility and SEO

  • One h1, headings in order, every link and button with a readable name, colour contrast checked on the dark theme.
  • A canonical URL, hreflang pairs for the language versions, a sitemap and structured data that matches the visible content.

The Cloudflare Pages manual covers headers and preview deploys step by step.

The second audience: AI agents

More and more visits come from assistants that read or operate a page on someone's behalf. Lighthouse now has an experimental agentic browsing category for that. Instead of a 0 to 100 score it shows a fraction of the checks the page passes, for example 4/4. The checks cover four areas:

  • Accessibility tree. Interactive elements need programmatic names, valid roles and must not be hidden from assistive technology. An agent sees the page much like a screen reader does.
  • Stability. Cumulative Layout Shift, so a button does not move between the moment an agent finds it and the moment it clicks.
  • llms.txt. A Markdown file at the site root with a title, a short summary and links to the important pages. Our article on llms.txt shows ours; we also generate a longer llms-full.txt on every deploy.
  • WebMCP. Forms can describe themselves to an agent with declarative attributes: toolname and tooldescription on the form, toolparamdescription on each field. Lighthouse validates them.

For our newsletter form that meant three attributes and one decision: we left out toolautosubmit, so an agent can fill the form but a person still confirms the consent and presses the button.

Findability by agents also starts outside the page: a robots.txt that explicitly allows the AI crawlers you want, and structured data that says what the page is.

Keeping it at 100

Sites get slower one embed at a time. Our scanner checks the production sites every day against the same rule, 100 in all four categories and no outstanding findings, so a regression shows up the next morning, not months later. The build itself runs guards before every deploy: links, language pairs, the sitemap and the content that must never leave the members' area.

If you are building your first site, the free Academy path from zero to hello world to edit and publish follows this checklist from the start.

Frequently asked questions

Is a PageSpeed score of 100 realistic for a small business site?

For a static site, yes, in all four categories: performance, accessibility, best practices and SEO. It mostly means leaving things out: no render-blocking third-party scripts, no oversized images, no fonts loaded from someone else's server. Sites built on heavy page builders rarely get there.

Why care about the audit list if the score is already 100?

Because the score rounds and weights. A page can show 100 while the detailed list still flags an image without dimensions or a link without a name. Those items are real problems for some visitors and for AI agents, and they are usually cheap to fix.

What is agentic browsing in Lighthouse?

An experimental Lighthouse category that checks how well an AI agent can use a page. It reports a fraction of checks passed rather than a 0 to 100 score, and looks at the accessibility tree, layout stability, an llms.txt file and declarative WebMCP annotations on forms.

Does Cloudflare Pages make a site fast by itself?

It serves files from a global network with HTTP/3 and compression, which removes most hosting problems. Caching headers, image sizes, fonts and scripts are still your job, and they decide the score.

Written from our own production systems by the Flowsmith editorial team, with AI assistance.

Want this running in your company?

Flowsmith designs and operates automations like this for small and mid-sized teams — with a person approving anything that leaves the building.

More from the blog