The Discourse hosting infrastructure handles a significant amount of traffic every day. Increasingly over the last 2-3 years, the traffic attributed to anonymous scrapers has disproportionately grown compared to human users and legitimate crawlers.
In many cases, traffic generated by these anonymous scrapers can be grow aggressively, to the point where hosted sites begin to see degradation in performance to a level that we will not tolerate.
Traffic Filtering
The common approach to preventing this kind of traffic is to issue browser (or client) challenges to validate the client is who they say they are: a user operating a browser. A challenge is not the same as a CAPTCHA - no user input is required and typically the challenge is solved in a very short time period with minimal disruption.
As of early November, we have implemented these browser challenges on our hosting platform. Challenges are only issued under specific circumstances.
The primary trigger is when a site detects traffic overload. Discourse (the application) will begin rejecting anonymous traffic when it is experiencing request queuing (ie there is temporarily insufficient capacity to service traffic volume); our hosting platform identifies this scenario and will enable client challenges for a period of time.
The intention is to filter out low-value traffic and ensure real users are still able to access your community during periods of elevated traffic. Challenges are automatically disabled when the traffic volume returns to serviceable levels.
What about crawlers?
As for ‘well-behaved’ crawlers, these are never issued challenges. Crawlers such as those operated by search engines, AI agents, LLM providers, and other self-identifying clients are included in this list. The collection of allowed crawlers changes regularly. When we identify new types of clients that operate within acceptable parameters they are considered eligible for challenge exemption.
Eligible traffic
Challenges are only issued to clients requesting the HTML version of a page - any requests for the JSON or Markdown versions of packages will not trigger challenges. A client that is issued a challenge - and passes - will not be challenged again for a reasonable period of time. Logged-in users will never be issued challenges, or requests that are authenticated with API keys via the HTTP request headers.
Note that challenges require Javascript to be enabled on the client browser, and any contemporary browser will successfully pass the challenge.
Questions?
Please reach out to the Discourse team via your regular communication channels if you have any concerns. This is a new feature of the hosting platform, and it may need to be tweaked over time. Your feedback is invaluable for helping us ensure we are not disrupting regular community traffic.
Last edited by @fitzy 2026-11-27T05:58:15Z
Check document
Perform check on document: