Next.js Bot Detection: Block AI Crawlers at the Edge
This story is from 2026-09-13. It is preserved in the archive; the latest stories are on the live feed.
Your Vercel usage graph is climbing and your logs are full of names you did not invite: GPTBot, ClaudeBot, PerplexityBot, Bytespider. They hammer your App Router pages and quietly run up your bandwidth and compute bill. The reflex is a ten-line user-agent block in middleware.ts . After you ship it…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-09-13 14:14 · DEV Community — AI
Next.js Bot Detection: Block AI Crawlers at the Edge