Michael Liyang: block crawlers before handing out free quota
Michael Liyang (@Michael_liyang) says the first day a free quota goes live, turn on crawler blocking before deciding how to split quota: free WAF bot rules, human verification on high-frequency endpoints, and only then real users.
- Products
- WAFWorkers
- Source
- Author experience𝕏
- Author
- Michael Liyang (@Michael_liyang)
Key points
- His order: 1) use Cloudflare's free WAF bot rules to block crawlers; 2) add human verification on high-frequency endpoints to stop scripts; 3) give real users what remains. The request path he describes is request → WAF bot check → block crawlers → pass to the app.
- His judgement: without blocking crawlers, a free quota is like handing out red envelopes to the whole internet.
Original sources
Published
Original post
Read on 𝕏Michael Liyang (@Michael_liyang) says the first day a free quota goes live, turn on crawler blocking before deciding how to split quota: free WAF bot rules, human verification on high-frequency endpoints, and only then real users.
风易 | AI 工具链
@Michael_liyang · Original 𝕏 post
先说结论:免费额度上线第一天,先开爬虫拦截,再谈配额怎么分。我的顺序:1 Cloudflare 免费 WAF 开机器人规则挡爬虫;2 高频接口加人机验证拦脚本;3 拦完剩下的额度才轮到真实用户。判断:爬虫不挡,免费额度等于给全网发红包。链路:请求→WAF 机器人检查→拦截爬虫→放行进业务。
More to read
风易: Do not call the upstream response live every time; use the Cache API for edge caching
On 2026-11-18, X user @Michael_liyang (风易) wrote: do not call the upstream response live every time; use the Cache API for edge caching. The approach is: the request checks the Cache API first and returns directly on a hit; on a miss, call upstream, write the successful response into the cache with a TTL; write operations do not enter the cache, and the hit rate is recorded in the D1 daily report. The chain is request → check cache → return on hit → call upstream on miss → write back → return. The author's judgment: what is cached is the upstream result, not your business state.
neoblender13: an AI agent’s recursive alarm system turned a ~$10 monthly Cloudflare bill into $1,500; $400 credited.
neoblender13 says the Cloudflare bill is normally around $10 a month, but this month it was hit with a $1,500 bill because an AI agent created a recursive alarm system that ballooned Durable Objects storage writes, and that Cloudflare support was not very helpful. In later replies the author says they did not realize spending limits were alert only, received a $400 credit and still had to pay $1,100, that the single alert email got buried in the inbox, and that a Discord bot now reports costs every 12 hours.
Cloudflare Cost Hub: free-tier vs paid allowances, cost drivers and month-end forecasts
An MIT-licensed dashboard that signs in with Cloudflare OAuth, reads account analytics across products, colour-codes usage as free, within paid allowance or billable, ranks per-instance cost drivers, forecasts month-end cost and emails threshold and budget alerts.