Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Do prefetched requests contain a Referer: header?

0
Posted

Do prefetched requests contain a Referer: header?

0

Yes, prefetched requests include a HTTP Referer: header indicating the document from which the prefetching hint was extracted. This may impact referrer tracking that is commonly used on many sites. For this reason, link prefetching may not be appropriate for all content. However, it is possible to instruct Mozilla to validate a prefetched document when the user follows a href to the prefetched document by specifying the Cache-control: must-revalidate HTTP response header. This header enables caching, but requires an If-Modified-Since or If-None-Match validation request before the serving the document out of the browser’s cache.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.