Re: [users@httpd] data transfer statistics based on apache logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/26/06, Daniel Watrous <dwmaillist@xxxxxxxxx> wrote:

There are two potential problems with this scenario.  First, if the
user cancels the download or exits the page before the download is
complete, the apache log still shows a request for the full file,
keeping no information about how much of it was downloaded.  The
second problem is if the users revisits the page, and either windows
media player, quicktime, flash, etc. have cached the file, does apache
still receive a request for the content, and delivers nothing?

For the first problem, see mod_log_io.

How you deal with the second problem depends on exactly what
statistics you want and why.  There are various cache-busting
techniques that assure that a new request is made every time a browser
returns to the content.  But they will degrade the browsing experience
for your users.  A middle ground is to cache-bust on just one small
object on the page.  Then you can infer that when people request this
object, they are also getting the rest of the page from their cache.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux