Everyone has seen the website 404 error. Do you know why it is 404?

Everyone has seen the website 404 error. Do you know why it is 404?

Whenever a "404 error" appears when browsing a web page, we all know that this means that there is an access error on the web page, that is, the page is lost. In fact, this has long been common knowledge. As a standard HTTP return code, 404 is used to indicate the response status of the web server HTTP. However, its historical origin is full of mystery and attracts people to explore. In the early 21st century, there was even a group of people who tried to study the source of the "404 error".


You only know that "404" is a web page error, but you don't know where it comes from?

It is said that before the third technological revolution, the entire Internet was like a large central database set up in a room called 404. At that time, all access requests were completed manually. If the file the requester needed was not found in the database, or if the requester wrote the wrong file number, they would get a "room 404: file not found" return message.

[[212821]]

In fact, the "404 error" message is usually displayed when the target page is changed, removed, or the client enters the wrong page address. Over time, people have become accustomed to using 404 to represent the error code that the server cannot find the file. Of course, after actual verification, it was found that the legendary room 404 does not exist. In the 3-digit return code of HTTP request, the code starting with 4 represents a client error. In China, "404 error" has more extended meanings, which may mean that the webpage does not exist, the content is illegal, or the content creator has deleted it on his own initiative.

In fact, we want to say that although humans have created network technology and it is under our control, it is not completely reliable. In fact, soon after the birth of the Internet, wrong URL access also came along. While we enjoy the knowledge and convenience brought by the Internet, we naturally have to endure the pain brought by 404 errors. Otherwise, how can we say that "everything has two sides".

However, Robert Cailliau, the creator of the Internet, disagrees with the above statement about the origin of the "404 error", and even says it is nonsense. The real origin of the 404 error is not like this. Although it seems that this kind of wrong access does not affect the development of the Internet now, it will cause a lot of waste of resources in the early days of Internet construction.

In this regard, Cailliau said: "When you write code for a new system, you can't waste too much time detecting requests for wrong address access. Otherwise, the server has to remember too much information and waste too many resources. Modern geeks don't know what it feels like to program with 64K memory! In order to avoid wrong address access, programmers came up with a very simple method, which is to specify the numeric range of error categories, and the '404 error' is set by programmers to let users know where they are wrong when they connect to the network. Marking the user's error type as 404 means that the web page does not exist."

"Also, I never expected that people would have this idea about the origin of the '404 error'. Perhaps people prefer some irrational and mysterious stories. Of course, this is quite common among humans. When people have little influence and information spreads slowly, these irrational traits are innocent. But now, due to the existence of the Internet, these characteristics have acquired a dangerous power." Cailliau added.

Of course, there are many other HTTP status codes besides 404. For example, 200, which means that the server has successfully processed the request and provided the requested web page, or 301, which means that the requested web page has been completely moved to a new location, and 500, which means that the server encountered an error and could not complete the request, and so on. In the end, what we want to say is that no matter what, HTTP status codes like "404 error" will always exist in the online world.

<<:  Blockchain and what it means for big data

>>:  It’s finally here! The first 5G international standard is officially completed and frozen

Recommend

Understand the OSI model in five minutes

The Open Systems Interconnection (OSI) model is a...

F5 Cloud Native Keywords: Transformation, Construction, Integration

[51CTO.com original article] Cloud native is one ...

Sent a data packet to xxxhub and found...

[[442879]] Hello everyone, I am Xuanyuan. That da...

Accelerating NFV interoperability testing

Many service providers have deployed network func...

Whether to upgrade WiFi 6 routers depends on the consumer's own situation

Nowadays, remote home office and classes have bec...

Finally someone explained the role of OSI and TCP clearly

I have mentioned the OSI reference model and the ...

First-line SASE escorts edge AI

When data sharing and circulation become a rigid ...

Considerations for designing the integrated cabling system in IDC computer rooms

IDC is the abbreviation of Internet Data Center. ...