2
I have a site in wordpress, the problem is that it pulls the site favicon somewhere that I can not find, I checked in all the files of the site and found nothing written favicon, I want to remove this file from the html favicon code in the code because it’s giving me 400 ms more loading.
Does anyone know where I can find this creep of his using any tools? I’ve already used this google Chrome and I can’t find,inspected element and I can’t find anything either.
I found in wordpress includes/load.php the favicon generation function:
function wp_favicon_request() {
if ( '/favicon.ico' == $_SERVER['REQUEST_URI'] ) {
header( 'Content-Type: image/vnd.microsoft.icon' );
exit;
}
}
Does anyone know where wordpress pulls this function in wordpress?
It worked, the favicon is no longer being called on my site, nor appears on the network, my score on gtmetrix was A 100% . thanks
– Edenilson Conceição
I’m glad it worked out. But remember, more important than the score, it’s the user experience. Consider the possibility of putting a real favicon and making it cache.
– Bacco