Any problems with the icons in the subfolder?

Could there be any problems moving the Apple touch icons and icons to a subfolder? For instance:

<link rel="shortcut icon" href="/images/favicons/favicon.ico">
<link rel="apple-touch-icon" href="/images/favicons/apple-touch-icon.png">
+5
source share
2 answers

Yes, some browsers start downloading /favicon.ico, at the same time they start downloading an HTML document. If there is no file, you will receive an additional 404 in your server log, and the browser will have to make an additional HTTP request when it finds out that the icon is in a different place.

Quote from Yahoo Best practices for speeding up your website :

favicon.ico - , . , , , 404 Not Found. , cookie , . , , IE , .

+3

, ,

HOST/YourPath/images/favicon.ico

.

, href , .

p.s. , , , : http://plugins.trac.wordpress.org/browser/wp-favicons/trunk/includes/class-http.php

0

All Articles