[wp-trac] [WordPress Trac] #11412: Discard requests for favicon.ico
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 12 19:52:11 UTC 2009
#11412: Discard requests for favicon.ico
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Performance | Version: 2.9
Severity: normal | Keywords:
-------------------------------+--------------------------------------------
WP should not load in its entirety on favicon.ico requests, unless a
plugin allows it to.
We should add the needed RewriteCond to the .htaccess statements. Or at
the very least catch that sort of request early on (while we parse the
request, for instance), apply filters in case a plugin wants to step in,
and bail accordingly.
As things stand, every page load on a site without a favicon generates a
404 error that gets logged -- and on each of these, WP loads in its
entirety, and hopelessly queries the database in an effort to canonically
redirect to something that might work.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11412>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list