Behind edge ✓host cdn-playground-five.vercel.appproto httpscdn-loop vergcloud-staging; count=1
← Feature map

Rate limit lab

Ping canary: send N cheap requests and count 200 vs 429. Safe by default — capped at 100 requests, batches of 5.

Setup guide

CDN → Domain [domain] → Security → Rate Limit → New

Suggested config

  • url_pattern /api/origin/rate-limit/ping* via POST /v1/rate-limit/{domain}/rules
  • rate 20, time_duration 10, action block (edge returns 429)

Verify

  1. Send 30 requests → expect ~20 × 200 then 429s
  2. Lower the threshold to trip faster
  3. Without a rule, all requests return 200

Origin routes

All probes are same-origin through the CDN hostname. Open routes in a new tab to compare edge vs origin headers.