On 8/26/06, Daniel Watrous <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to