-
Notifications
You must be signed in to change notification settings - Fork 4.3k
added x-robots-tag header #1752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
I'm not 100% sure on this one, @mackowski ? |
hey @righettod can you help with this PR? :) |
I tend to be thumbs-up on this PR. It seems reasonable to want to AI crawlers of the day to leave us alone. :) |
@jmanico the problem is that the recommendation is from different header |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the 'Recommendation' section
I'm with you now @mackowski |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds documentation for the X-Robots-Tag HTTP header to the HTTP Headers Cheat Sheet. The X-Robots-Tag header is used to control how search engines and AI bots index and display non-webpage content.
- Added a new section documenting the X-Robots-Tag header with description and example usage
- Included a note about crawler behavior and compliance
- Added a recommendation section for the header
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
Added explanation for X-DNS-Prefetch-Control header.
I'm still not 100% convinced we should outright recommend disallowing crawlers without caveats. There are downsides. For example, I would argue we definitely want AI to ingest the cheat sheets so they will be more likely to give good recommendations for people who will inevitably ask LLMs for security advice. |
Agree, we should add this header but think how to describe the recommendation. |
Overall we want this recommendation for any data we want to protect from crawlers. It's totally fair that public data does not need this. |
Clarified the explanation of the X-Robots-Tag header and its usage. Improved formatting and notes for better readability.
Corrected formatting and removed redundant text in the HTTP Headers Cheat Sheet.
You're A Rockstar
Thank you for submitting a Pull Request (PR) to the Cheat Sheet Series.
Please make sure that for your contribution:
[TEXT](URL)
If your PR is related to an issue, please finish your PR text with the following line:
This PR fixes issue #
<REPLACE WITH ISSUE NUMBER>
.Thank you again for your contribution 😃