ecometer

Do not generate 404 pages

(Hosting)
#46

The 404 page should be as light as possible, or ideally nonexistent. When the browser requests a resource which does not exist (image, CSS style sheet, JavaScript file, etc.), the server replies with the 404 page, which is sometimes larger than the resource requested.
Moreover, some CMS run their content research process (in the database) in an attempt to retrieve the requested page. This results in the server code being run, the server’s database accessed and the HTML page being dynamically generated. All these processes waste CPU power, RAM and bandwidth.

Avoid dynamic 404 pages, which are personalized according to the URL’s content. Instead, use a single, static 404 page.