[wp-trac] [WordPress Trac] #17246: Handling of HTTP 404 errors for non-existing files

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 26 18:50:16 UTC 2011

#17246: Handling of HTTP 404 errors for non-existing files
 Reporter:  azaozz       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  3.2
Component:  Performance  |    Version:
 Severity:  normal       |   Keywords:  needs-patch
 Generally if WordPress sees a request for a specific file it means the web
 server couldn't find that file. Currently we run all of WordPress in such
 cases and output the theme's 404 template.

 If the missing file is an image that has been reused 10 times (perhaps a
 CSS background or sprite) we will run ten extra times on every page load.

 What I'm proposing is to short-circuit all requests for specific files
 very early in the load cycle, the same way we do it for favicon.ico
 requests and output a generic 404 notice.

Ticket URL: <http://core.trac.wordpress.org/ticket/17246>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list