Skip to content
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

[feature] Use ETag for robots.txt to prevent mishaps #3829

Merged
merged 2 commits into from
Feb 24, 2025
Merged

Conversation

tsmethurst
Copy link
Contributor

Small update to use no-cache in the Cache-Control header returned from robots.txt, and provide (and parse) an ETag, to ensure crawlers can use the most up-to-date version of the robots.txt file. Relates to the potential caching issue described in fedidb/issues#46.

@tsmethurst tsmethurst merged commit fd670c6 into main Feb 24, 2025
4 checks passed
@tsmethurst tsmethurst deleted the robots_ branch February 24, 2025 10:17
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