TIL: Rate limiting by IP using Cloudflare's rate limiting rules
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story. The source provided limited text, so this summary is brief.
Why it matters
Developers running sites behind Cloudflare can block abusive crawlers today by copying Willison's exact WAF rate limiting rule configuration, since it is publicly documented.
Simon Willison's blog was timing out because web crawlers were repeatedly hitting his search page despite the page telling crawlers, via robots.txt, to stay away. He fixed it using Cloudflare's firewall tool, which can limit how many requests one internet address may make. He allows five requests every ten seconds per address to the search section. The article shows the rule he used so others can copy it.
A website owner behind Cloudflare resolved outages caused by misbehaving crawlers without new infrastructure or cost, using Cloudflare WAF's built-in rate limiting: at most five requests per ten seconds per IP address to /search/*. The lesson for any business running sites behind Cloudflare is that abuse mitigation is available in an existing subscription rather than custom code. The article omits pricing tiers or whether these rules incur extra Cloudflare charges.
Willison diagnosed timeouts on his Datasette-based blog traced to crawlers ignoring robots.txt restrictions on /search/*. He configured Cloudflare's WAF rate limiting rules to cap requests from any single IP at five per ten seconds on the /search/* path. No rule configuration syntax, dashboard steps, or false-positive results are given. Sidebar items reference Ladybird's alpha due 23rd November 2026 and Pyodide-based Datasette in the browser.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.