Computer House Home PageList of products and servicesDrivers, Utilities, Info and More!Learn more about Computer House

Question

 What is a 304 error?

 
Answer
 

The 304 error is somewhat misleading. The Apache Webserver logs it as an error, but it's really this. Someone visits your site today, and tomorrow, they go back to your site. When they do, their local system connects with your server, and then the server tells the local machine that the information (html files, images, etc) are already in the cache of that users system, and the information is shown from the cache rather than the server itself. Apache logs this as the 304 error because it hasn't been modified since the last time that the user has accessed that part of your site.

This error is probably the online "good" error a user could get because this means that they have been to your site previously and have returned.

If you wish to not have this error anymore, then include a server side include (SSI) on the most visited pages. This will ensure that the visitor receives an HTML page that is parsed, and it must be parsed by the server (not from cache), thus making your HTML pages come from the server all the time.

Back to Index

The Computer House Technology Center, Inc.
740 South Sixth Avenue
Galloway, New Jersey 08205
(800) 372-6834 --- FAX: (609) 748-9776

Copyright © 2001 Computer House, Inc. All Rights Reserved.