instantpage / instant.page

Make your site’s pages instant in 1 minute and improve your conversion rate by 1%
https://instant.page
MIT License
6.04k stars 205 forks source link

Possible to recognise Instant.page requests in server logs? #63

Open Jos512 opened 4 years ago

Jos512 commented 4 years ago

Thanks for making Instant.page, it's an awesome tool! :slightly_smiling_face:

But is it possible to distinguish between actual page views and Instant.page-initiated requests in server logs?

Because not every Instant.page-query is an actual pageview, since the user might not actually click on the link he or she hovers on. So I look for a way to exclude those from my log analysis.

Thanks for any insights you may have!

dieulot commented 4 years ago

We can. Chrome sends a “Purpose: prefetch” and Firefox a “X-Moz: prefetch” header while making the requests.