XF 2.2 AppleBot - causing over 100,000 hits in 5 days - causing cpu limits to be hit

ak38

Active member
Licensed customer
Hi guys,

I've got an issue with applebot relentlessly crawling my site causing some drain on the server cpu limits.

Is there a way to slow these down or is the only solution to block the applebot ?

Thanks for your help!
 
Use robots.txt:


Applebot robots.txt info:


~~~

Try a robots.txt with:

User-agent: Applebot
Crawl-delay: 1

That will ask Applebot to wait 1 second between each page they crawl. If you want them to wait longer, you can adjust the number 1 to another number.

Applebot may or may not abide the crawl-delay directive, but it doesn't cost you anything to try it.
 
Thanks @cwe

I've set the delay to 20 and will check the stats in a few days, if this doesn't work is my only other option to block the bot?
 
Basically yes.
And i think since robots.txt is a rulebook for either all bots, or specific ones, if they are not following the rules you set, they should be banned,

I hope you did not set crawl delay for all to 20. If you did that, it might interfere with the bots that actually follow the rules such as google and bing.
 
Hi guys,

I've got an issue with applebot relentlessly crawling my site causing some drain on the server cpu limits.

Is there a way to slow these down or is the only solution to block the applebot ?

Thanks for your help!
If you have cloudflare, you can also block Apple Bot via it's firewall(Waf settings).
 
Applebot is an odd one. It's pretty active on my site, but manageable. I haven't blocked it because, unlike some crawlers, it apparently doesn't separate training from search - it uses one bot for both (according to Google). Meaning if you block it your site doesn't show up on Safari search etc. Hence I've left it.
 
I haven't blocked it because, unlike some crawlers, it apparently doesn't separate training from search - it uses one bot for both (according to Google). Meaning if you block it your site doesn't show up on Safari search etc. Hence I've left it.
Why not checking directly at the source intstead of "Google" - whatever this may mean as a source? Seems more reliable to me. You can opt out from AI training by setting this directive in robots.txt but have to trust Apple that they stick to their word:

The data crawled by Applebot may also be used to help train Apple foundation models powering generative AI features across Apple products, including Apple Intelligence, Services, and Developer Tools. Web publishers can opt-out from having their content used to train generative foundation models by disallowing Applebot-Extended in the robots.txt file.

Applebot crawled data may be used to provide additional context and up-to-date content when AI models are used to generate output for display in Apple products and services. For example, answering broad world knowledge questions in Siri and Search that may include links to sources and websites used to help generate the answer. Web publishers can opt out of their content being used in these broad world knowledge answers by applying the nosnippet meta tag to specific content.

Even if you disallow Applebot-Extended and tag website content with the nosnippet meta tag, your website instructions may still allow Applebot to crawl your webpages. Your content will remain discoverable through Spotlight, Siri, and Safari, as well as other system-wide features on Apple devices.

 
Back
Top Bottom