Ignore prefetch requests

  • OSBlues

    OSBlues - 2005-04-12

    With Google now prefetching top results for certain natural searches for Mozilla users we need a way to filter out these requests from our stats

    Basically Google now tells Moz based browsers to get the top results for certain searches in the background which is of course tainting statistics as the user doesn't necessarily click on that result. Is there a simple way to incorporate something into Awstats to discount these request from statistics?

    Details on prefetching are here -


    • Laurent Destailleur (Eldy)

      The webserver can detect a prefetch request but it is not stored in log file.
      And if we use a rewrite rule to store data in log file when the http header contains "X-moz: prefetch", we will be able to change awstats conf to filter it but if the user click on link, it will be ignored into stats.
      So problem seems to have no solution.
      May be blocking prefecth request from your web server...


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks