-
Notifications
You must be signed in to change notification settings - Fork 6
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
Example traffic-advice file content for Google #21
Comments
If you're okay with the default behavior, you don't need to do anything. Returning 404 is perfectly valid. You can provide this file (with the MIME type [{"user_agent": "prefetch-proxy", "disallow": false}] This traffic is related not to Googlebot (the crawler), but determining whether user prefetch traffic from search results should be allowed. |
Thank you. For Apache RewriteRule "^/\.well-known/traffic-advice$" - [T=application/trafficadvice+json,END] |
This example allow "Chrome Privacy Preserving Prefetch Proxy" to Prefetch without limitations:
Thanks @szepeviktor for Apache config, I used it in my article. This code (ehm, my own work) represents config for right MIME type on Nginx:
|
I already receive requests for this file.
@jeremyroman Could you provide some simple examples for Google/bot?
The text was updated successfully, but these errors were encountered: