简体   繁体   English

重复请求apple-touch-icon-precomposed.png,并在头部设置了apple-touch-icon

[英]Repeated Requests for apple-touch-icon-precomposed.png with apple-touch-icon set in head

I've set paths for my apple-touch-icon files in the head of my page: 我在页面的头部为我的apple-touch-icon文件设置了路径:

<link rel="apple-touch-icon" href="/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="/images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="/images/apple-touch-icon-114x114.png">

but every so often I get a batch (more than five at a time) of requests for /apple-touch-icon-precomposed.png from Android users. 但每隔一段时间我就会从Android用户那里得到一批(一次超过五个)/apple-touch-icon-precomposed.png的请求。 Is this normal behavior and how do I get it to stop? 这是正常的行为,我该如何让它停止? I know I can add the file but I don't want to have to create a new version of the files and hope I get the same effects. 我知道我可以添加文件,但我不想创建新版本的文件,希望我得到相同的效果。

Update We've recently been seeing requests for apple-touch-icon-144x144.png and I haven't found anything online that explains why we would need that (we added it anyways). 更新我们最近看到了对apple-touch-icon-144x144.png的请求,我在网上找不到任何可以解释我们为什么需要它的内容(我们还是添加了它)。

See http://www.ravelrumba.com/blog/android-apple-touch-icon/ http://www.ravelrumba.com/blog/android-apple-touch-icon/

'... Android 2.1 ... will only use the icon if you link to it with a rel value of “apple-touch-icon-precomposed”.' '... Android 2.1 ...只有在您使用rel值“apple-touch-icon-precomposed”链接到它时才会使用该图标。

So it seems to be 'normal' (doesn't work with the non-precomposed version). 因此它似乎是“正常的”(不适用于非预先组合的版本)。

Also see http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14 另请参阅http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14

Size for high-resolution iPad: 144 x 144 适用于高分辨率iPad的尺寸:144 x 144

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM