Skip to content

Keep Claude-SearchBot and Amzn-SearchBot off the site - #252

Merged
luisgon-dev merged 1 commit into
mainfrom
block-ai-search-crawlers
Oct 6, 2026
Merged

luisgon-dev merged 1 commit into
mainfrom
block-ai-search-crawlers

Conversation

@luisgon-dev

Copy link
Copy Markdown
Owner

Summary

Adds the two AI-answer search indexers to blockedAiCrawlers in robots.ts. Found while profiling #251: they made about 99% of summoner-profile requests in the two weeks to 2026-10-06 (99,053 hits on 79,969 distinct summoners), so the 5-minute profile cache almost never hit.

Changes

  • apps/web/app/robots.ts: add Amzn-SearchBot and Claude-SearchBot, with the reason in the comment.
  • apps/web/app/robots.test.ts: assert both are blocked.

Verification

  • dotnet build N/A (web only)
  • pnpm web:test (CI)
  • pnpm web:build (CI)

Documentation (Required)

  • N/A: no behavior, API, or config change outside robots.txt; the rationale lives in the code comment.

🤖 Generated with Claude Code

They were about 99% of summoner-profile requests in the two weeks to
2026-10-06 (99,053 hits on 79,969 distinct summoners), so the profile cache
almost never hit and each request was a cold computation on prod's HDD.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@luisgon-dev
luisgon-dev merged commit 8948ca8 into main Oct 6, 2026
9 of 10 checks passed
@luisgon-dev
luisgon-dev deleted the block-ai-search-crawlers branch October 6, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant