YSlow: Avoid HTTP 404 (Not Found) error More Recommendations

Rule Summary

Content
Medium
Easy
97%

Overview

404 errors can be costly.

Read More

How does your site score on this rule?

Details from Yahoo!

Making an HTTP request and receiving a 404 (Not Found) error is expensive and degrades the user experience.

Particularly bad is when the link to an external JavaScript is wrong and the result is a 404. First, this download will block parallel downloads. Next the browser may try to parse the 404 response body as if it were JavaScript code, trying to find something usable in it.

Some sites have helpful 404 messages (for example, "Did you mean ...?"), which may assist the user, but server resources are still wasted.

Contribute to this recommendation

Have an opinion, link, or other contribution to share regarding this recommendation? Share it with us and help make the web a faster place!