HTTP Error 304 - Not modified

Introduction

This does not really indicate an error, but rather indicates that the resource for the requested URL has not changed since last accessed or cached. The 304 status code should only be returned if allowed by the client (e.g. your Web browser or our CheckUpDown robot). The client specifies this in the HTTP data stream sent to your Web server e.g. via If_Modified_Since headers in the request.

Systems that cache or index Web resources (such as search engines) often use the 304 response to determine if the information they previously gathered for a particular URL is now out-of-date.

304 errors in the HTTP cycle

Any client (e.g. your Web browser or our CheckUpDown robot) goes through the following cycle when it communicates with your Web server:

  • Obtain an IP address from the IP name of your site (your site URL without the leading 'http://'). This lookup (conversion of IP name to IP address) is provided by domain name servers (DNSs).
  • Open an IP socket connection to that IP address.
  • Write an HTTP data stream through that socket.
  • Receive an HTTP data stream back from your Web server in response. This data stream contains status codes whose values are determined by the HTTP protocol. Parse this data stream for status codes and other useful information.

This error occurs in the final step above when the client receives an HTTP status code that it recognises as '304'.

Fixing 304 errors - general

You should never see this error in your Web browser. It should simply present the Web page from its cache - because it believes the page has not changed since it was last cached. If your client is not a Web browser, then it should equally be able to present the page from a cache. If unable to do so, it is not using the If_Modified_Since or related headers correctly.

Fixing 304 errors - CheckUpDown

You should never see this error at all for the CheckUpDown service. It indicates defective programming by us or the developers of your Web server software. Either we or they are not respecting HTTP protocols completely.

The 304 status code should only be returned if we allow it in the HTTP data stream we send to your Web server. Because we keep no records of the actual content of your URL Web page, we specifically disallow the 304 response in the HTTP data stream we send.

So if your Web server implements the HTTP protocol properly, it should never send an 304 status code back to us. This response is not what we expect, so we actively report it as an error even though it does not necessarily mean that your Web site is down.

Please contact us directly (email preferred) whenever you encounter 304 errors. Only we can resolve them for you. Unfortunately this may take some time, because we have to analyse the underlying HTTP data streams and may have to liaise with your ISP and the vendor of your Web server software to agree the exact source of the error.

CheckUpDown logo
We monitor your site for errors like 304. Click below for details.
More about the service we provide Try our service free for 90 days

 

Our company also owns these other Web sites:

A simple guide to software escrow.
Our really simple guide to web hosting (getting your web site and email addresses on the Internet using your own domain name).
Convert text to image file (GIF, JPG, PNG etc.) Free to use.
Tips if you want to buy a valuable Internet domain name.
Find skilled IT contractors/consultants. Clients can easily find computer contractors directly (no agents). Search engine matches contractors to client requirements. Site free to IT people, very low-cost to clients - pay only if satisfied.
Computer software and consultancy for Microsoft Windows and IBM AS/400 platforms. Utility and application software written in a variety of programming languages - particularly Java. Many free software offerings.
Secure, confidential and low-cost recovery of lost PDAs (Blackberries, handhelds, mobile phones etc.). Uses combination of SMS / Web / phone technologies.
Secure, confidential and low-cost recovery of lost keys (keyrings, keyfobs). Uses combination of SMS / Web / phone technologies.
We run and support a charity in Knysna, Republic of South Africa that provides free tuition for poor schoolchildren.
Our top-level company site.

You might also be interested in our valuable Internet domain names:  96.com logo 97.com logo 98.com logo328.com logo