SEO Is Infrastructure, Not Just Marketing
Most developers I know treat SEO as a marketing problem. They build the site, ship the features, and hand it off to someone else to "do SEO." But here's the thing: SEO is fundamentally a technical discipline. Core Web Vitals, structured data, sitemap generation, canonical URLs — these are engineering concerns.
At AIKit, we built our Auto Blog/SEO plugin from a developer's perspective. We identified the 7 metrics that matter most for technical SEO, made them measurable, and automated the monitoring pipeline. Here's what we track.
1. Index Coverage Ratio
**What it is:** The percentage of your site's pages that Google has actually indexed versus the total pages it discovered.
**Why it matters:** If Google isn't indexing your pages, they don't exist in search. Low index coverage usually means crawl budget issues, duplicate content, or configuration problems.
**How AIKit helps:** The plugin's sitemap endpoint auto-generates an XML sitemap from D1 content, ensuring every published post is discoverable. The dynamic sitemap at `/sitemap.xml` queries the database directly, so new posts appear within seconds of publication.
```typescript
// Example: AIKit's auto-generated sitemap endpoint
import { env } from "cloudflare:workers";
export const GET: APIRoute = async () => {
const db: D1Database = (env as any).DB;
const result = await db
.prepare("SELECT slug FROM ec_posts WHERE status = 'published'")
.all<{ slug: string }>();
// Build XML from database rows
let xml = `<?xml version="1.0" encoding="UTF-8"?>\n<urlset>\n`;
for (const row of result.results || []) {
xml += ` <url><loc>https://ai-kit.net/blog/${row.slug}</loc></url>\n`;
}
xml += `</urlset>`;
return new Response(xml, { headers: { "Content-Type": "application/xml" } });
};
```
2. Core Web Vitals
**What it is:** Largest Contentful Paint (LCP), First Input Delay (FID), and Cumulative Layout Shift (CLS).
**Why it matters:** Since Google's Page Experience update, Core Web Vitals are a direct ranking factor. A slow site with layout shifts will rank below faster alternatives, regardless of content quality.
**Developer checklist:**
- ✅ Preload critical assets (fonts, hero images)
- ✅ Lazy-load below-the-fold content
- ✅ Set explicit width/height on images to prevent CLS
- ✅ Minimize render-blocking JavaScript
- ✅ Use Cloudflare's automatic optimization features
**How AIKit tracks it:** The plugin integrates with PageSpeed Insights API to generate automated audit reports. We run a weekly cron job that checks every URL on the site and alerts us if scores drop below 85.
3. Crawl Budget Utilization
**What it is:** The number of pages Googlebot crawls on your site within a given time period, versus the total pages you want indexed.
**Why it matters:** On a site with thousands of pages, Google allocates a limited crawl budget. If 50% of that budget goes to 404 pages, redirect chains, or thin content, your important pages get less attention.
**How to improve it:**
- Fix broken internal links (use `curl --head` on every internal URL)
- Remove thin content pages (or add `noindex`)
- Optimize your sitemap to only include canonical pages
- Use `lastmod` tags in your sitemap
4. Structured Data Coverage
**What it is:** The percentage of your pages that implement Schema.org markup (Article, FAQ, HowTo, BreadcrumbList, etc.).
**Why it matters:** Rich snippets get 2x higher click-through rates than plain results. Google's Search Gallery shows enhanced results for pages with valid structured data.
**AIKit's approach:** The Auto Blog plugin automatically generates JSON-LD structured data for every post:
```json
{
"@context": "https://schema.org",
"@type": "TechArticle",
"headline": "Post Title",
"description": "Post excerpt",
"author": { "@type": "Person", "name": "Tony Nguyen" },
"datePublished": "2026-05-07",
"publisher": { "@type": "Organization", "name": "AIKit" }
}
```
5. Time to First Byte (TTFB)
**What it is:** The time between a browser's HTTP request and the first byte of the response.
**Why it matters:** TTFB is a proxy for server performance. On Cloudflare Workers, TTFB is typically under 100ms. If yours is higher, something is wrong — slow database queries, expensive middleware, or cold starts.
**Developer tools:**
```bash
Measure TTFB from multiple regions
curl -w "TTFB: %{time_starttransfer}s\n" -o /dev/null -s https://ai-kit.net
```
6. Content Freshness Score
**What it is:** A measure of how recently your site's content was updated. Google's Query Deserves Freshness (QDF) algorithm boosts recently updated content for time-sensitive queries.
**How AIKit automates it:**
- Every blog post has a `published_at` and `updated_at` timestamp in D1
- The sitemap includes `<lastmod>` tags based on these timestamps
- A cron job checks for posts older than 6 months and flags them for refresh
- The Auto Blog plugin can auto-regenerate stale posts with updated information
7. Internal Link Density
**What it is:** The number of internal links per page, normalized by content length.
**Why it matters:** Internal links distribute PageRank throughout your site and help Google understand content relationships. A page with zero internal links is an orphan — it might as well not exist.
**Best practice:** Every blog post should link to at least 2-3 other posts on your site. The AIKit plugin's "Related Posts" section handles this automatically by matching keyword overlap across the content database.
Building Your SEO Dashboard
Here's a minimal approach to tracking these 7 metrics:
| Metric | Tool | Frequency | Threshold |
|--------|------|-----------|-----------|
| Index Coverage | Google Search Console | Weekly | >85% |
| Core Web Vitals | PageSpeed Insights | Weekly | LCP <2.5s |
| Crawl Budget | Google Search Console | Monthly | 90% useful |
| Structured Data | Rich Results Test | Per-post | 100% valid |
| TTFB | curl + Cloudflare Analytics | Daily | <200ms |
| Content Freshness | Custom D1 query | Weekly | <6 months |
| Internal Links | Custom script | Monthly | >3 per post |
With AIKit's Auto Blog/SEO plugin, most of these metrics are tracked automatically. The plugin's dashboard shows a live SEO health score for your entire site, with actionable recommendations for improvement.
The Developer Advantage
The teams that win at SEO in 2026 won't be the ones with the best marketers. They'll be the ones who treat SEO as an engineering problem — measurable, automated, and continuously deployed.
Start monitoring these 7 metrics today, and you'll have a significant advantage over competitors who still think SEO means "write more blog posts."