"Michael McLaughlin" <mpmclmitre.org> wrote in message
news:bfja38$hpb$1newslocal.mitre.org...This is a perl newsgroup, not a webserver newsgroup or HTTP newsgroup, and> Once a month, I run a (mostly perl) script that reads my all my
> webserver log files and tallies hits to several webpages. However, I
> have always wondered about the accuracy of these counts.
> Specifically, if a reader has been to a page before, has this page in
> his browser cache and surfs to that URL, does the log still register
> that hit with the usual status code (200)? Does it register it at all?
> Thanks in advance for any tips.
> Mike McLaughlin
as such this post is quite off-topic.
Additionally, the logging of requests in your webserver's logs are dependent
upon which server you are using (you neglected to post that information),
and how it is configured. However, in general an unmodified doent that is
in the browser cache will be logged as a 304, not a 200. It will be logged
as a 200 if it is actually fetched from the server. For more information
about this I suggest that you look at this doent: