Re: [squid-users] Page view counts

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Tue, 26 Feb 2008 21:46:52 -0700

On Fri, 2008-02-22 at 12:52 +0200, Ali Hardogan wrote:

> I'd like to count the page views as the HTTP requests are proxied
> through Squid.
>
> If I blindly count the HTTP GETs, I get a wrong (higher) number
> because for the same page multiple HTTP GET commands are issued.
>
> How can I get an accurate count of page views (or identify the log
> entry that represents a page view -- whether typed-in or clicked by
> the end user)?

HTTP does not define a "page", and Squid does not know what it is. You
can come up with many different heuristics that determine what is a page
(based on URLs, content type, and even response content), and count
according to your heuristic.

Alex.
Received on Tue Feb 26 2008 - 21:47:03 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST