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

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

Open
Jos512 opened this issue Mar 1, 2020 · 1 comment
Open

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

Jos512 opened this issue Mar 1, 2020 · 1 comment

Comments

@Jos512
Copy link

Jos512 commented Mar 1, 2020

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

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
Copy link
Member

dieulot commented Mar 1, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants