- Edited
Hi, I have been investigating logs recently and found lot of "page not found" requests by "Chrome Privacy Preserving Prefetch Proxy" bot.
TLTR: Google preloads page for Chrome users which browser thinks user is going to visit next (or what). File under the URL https://www.exampe.com/.well-known/traffic-advice informs this proxy bot how often prefetch and if at all. Something like robots.txt
I suggest for WordOps to add file /var/www/html/.well-known/traffic-advice
with content
[{
"user_agent": "prefetch-proxy",
"google_prefetch_proxy_eap": {
"fraction": 1.0
}
}]
and extend /etc/nginx/common/locations-wo.conf
with the config:
# Private Prefetch Proxy
# https://developer.chrome.com/blog/private-prefetch-proxy/
location /.well-known/traffic-advice {
types { } default_type "application/trafficadvice+json; charset=utf-8";
alias /var/www/html/.well-known/traffic-advice;
allow all;
}
More info and config test tool here