Page 1 of 1
Posted: Sat Mar 24, 2001 8:58 am
by Jia
I was checking my site's Log today and I found that there were many hits that responded with code 304 - not modified. Could someone explain to me what that is and how I can fix the problem?
Posted: Sat Mar 24, 2001 12:09 pm
by STrRedWolf
It's actually not a problem. It's how Netscape and IE knows when something in it's cache has gone stale or not.<P>To understand it, you have to understand how webpages are pulled -- the HyperText Transfer Protocal (HTTP). (Look for the Internet RFC on it though <A HREF="
http://www.faqs.org," TARGET=_blank>http://www.faqs.org,</A> but it's a dry read).<P>The browsers, in pulling a page and it's contents that it already has in it's cache, will ask the server for the file, but with the condition of if the file has changed since it was last pulled. The server (and I'm assuming the most popular, Apache, here) will check, and if it's been changed, "HTTP 200 OK" and send. If not, "HTTP 304 Not Modified."<P><P>------------------
--
WolfSkunk "STriker" RedWolf
Cheif Officer -- <A HREF="
http://stalag99.keenspace.com/" TARGET=_blank>Stalag '99</A> -- <A HREF="
http://stalag99.keenspace.com/" TARGET=_blank>
http://stalag99.keenspace.com/</A>
This signature is Usenet compliant.
Posted: Sat Mar 24, 2001 12:21 pm
by Jia
ah thanks a lot!
