Rate limiting pages access

Is it possible to rate limiting access to Cloudflare pages, not functions but even static html pages?

Cloudflare’s abuse protection methods do not affect well-intentioned traffic. However, if you send many thousands of requests per second from a small number of client IP addresses, you can inadvertently trigger Cloudflare’s abuse protection.

That’s way to high for my case, as I need to limit access to my Cloudflare pages once per 5 seconds, to dissuade scrapping.

Is it possible?

You would have to create a rate limiting rule that includes your custom pages domain.
Note that you can not rate limit the .page.dev domain and would need to set up access to block all requests to it.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.