is there a method, to automatically activate an action on cloudflare? specifically I’m interested to know if at certain peaks of traffic, the Challenge JS can activate itself and then deactivate itself.
No, and there shouldn’t be a need to do that. The settings should stay in place and you should configure caching if at all possible.
You could make an API call from the server when it’s nearing it’s processing limits.
Hello thank you.
Can you tell me more about API call for this ?
You can see all the available API endpoints at api.cloudflare.com.
Wow thank you …
in some cases my site in the moment of increased traffic becomes unavailable, to restart it I have to activate the firewall rules to block the nations that are attacking.