{"id":3,"date":"2009-08-09T19:00:17","date_gmt":"2009-08-10T02:00:17","guid":{"rendered":"http:\/\/www.jbarker.com\/blog\/?p=3"},"modified":"2011-02-27T05:16:00","modified_gmt":"2011-02-27T13:16:00","slug":"apple-touch-icon-png","status":"publish","type":"post","link":"https:\/\/www.jbarker.com\/blog\/2009\/apple-touch-icon-png","title":{"rendered":"What is apple-touch-icon.png?"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-59\" title=\"apple-touch-icon.png from apple.com\" src=\"https:\/\/www.jbarker.com\/blog\/wp-content\/uploads\/2009\/08\/apple-touch-icon-applecom.png\" alt=\"apple-touch-icon.png from apple.com\" width=\"129\" height=\"129\" \/>The use of <a href=\"http:\/\/www.apple.com\/apple-touch-icon.png\"><code>apple-touch-icon.png<\/code><\/a> as defined by Apple is on the rise. This file is a small, square image that is primarily intended for bookmarking a web site on a mobile device.<\/p>\n<p>The icon is used by the Apple iPhone OS and iPod touch software to <a href=\"http:\/\/developer.apple.com\/safari\/library\/documentation\/AppleApplications\/Reference\/SafariWebContent\/ConfiguringWebApplications\/ConfiguringWebApplications.html#\/\/apple_ref\/doc\/uid\/TP40002051-CH3-SW4\">add a web site shortcut to the Home screen<\/a>. The benefit of <a href=\"http:\/\/developer.apple.com\/safari\/library\/documentation\/InternetWeb\/Conceptual\/iPhoneWebAppHIG\/MetricsLayout\/MetricsLayout.html#\/\/apple_ref\/doc\/uid\/TP40007900-CH6-SW31\">creating an <code>apple-touch-icon.png<\/code> file<\/a> is that the icon displayed for the site is defined by the web site owner rather than a thumbnail of the site content generated by the mobile device.<\/p>\n<p><!--more--><\/p>\n<p>Aside from the benefit of a user-friendly icon, adding the icon can also clean up your web server logs. If you have HTTP status 404, file not found, entries in your access log:<\/p>\n<p><code>visitor.example.com - - [01\/Aug\/2009:19:00:00 -0700] \"GET \/apple-touch-icon.png HTTP\/1.1\" 404 1024 \"-\" \"Mozilla\/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit\/420+ (KHTML, like Gecko) Version\/3.0 Mobile\/1A543a Safari\/419.3\"<\/code><\/p>\n<p>Then it is likely that you have visitors that want to save your site on their mobile device.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The use of apple-touch-icon.png as defined by Apple is on the rise. This file is a small, square image that is primarily intended for bookmarking a web site on a mobile device. The icon is used by the Apple iPhone OS and iPod touch software to add a web site shortcut to the Home screen. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[7,5],"class_list":["post-3","post","type-post","status-publish","format-standard","hentry","category-software","tag-iphone","tag-web"],"_links":{"self":[{"href":"https:\/\/www.jbarker.com\/blog\/wp-json\/wp\/v2\/posts\/3","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jbarker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jbarker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jbarker.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jbarker.com\/blog\/wp-json\/wp\/v2\/comments?post=3"}],"version-history":[{"count":12,"href":"https:\/\/www.jbarker.com\/blog\/wp-json\/wp\/v2\/posts\/3\/revisions"}],"predecessor-version":[{"id":79,"href":"https:\/\/www.jbarker.com\/blog\/wp-json\/wp\/v2\/posts\/3\/revisions\/79"}],"wp:attachment":[{"href":"https:\/\/www.jbarker.com\/blog\/wp-json\/wp\/v2\/media?parent=3"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jbarker.com\/blog\/wp-json\/wp\/v2\/categories?post=3"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jbarker.com\/blog\/wp-json\/wp\/v2\/tags?post=3"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}