Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Stop Paying $10/Month for Vercel Speed Insights – Cloudflare Web Analytics + Free Worker

Описание и применение

Используйте бесплатный Cloudflare Web Analytics и Cloudflare Worker для сбора Core Web Vitals по страницам, избавившись от ежемесячной подписки Vercel.

Задача

A hobby dashboard exceeded Vercel Speed Insights free quota, forcing a $10/month upgrade for continued analytics.

Результат

Per‑page Core Web Vitals are captured for $0 using Cloudflare Web Analytics and a free Worker, eliminating the $10/month Vercel subscription.

Рабочий процесс

  • 1. Add a Cloudflare Worker to the project (free tier, 100k requests/day).
  • 2. Include the provided JavaScript snippet on each page to send web‑vitals via navigator.sendBeacon to the Worker endpoint.
  • 3. In the Worker, accept POST requests, parse JSON, and log the event (name, value, page, timestamp).
  • 4. View logs via Workers Logpush or tail live to see per‑page vitals.
  • 5. Optionally, grep logs weekly to spot regressions.
  • 6. Use Cloudflare Web Analytics dashboard for aggregate metrics; use log data for per‑page analysis.

Доказательства

Cloudflare Web Analytics product is free with no event cap and no per‑project pricing.

Источник

Vercel gives you Core Web Vitals per page automatically.

Источник

  • Дата записи: 2026-09-21T01:19:05.633Z