Forum Moderators: open

Message Too Old, No Replies

CFNetwork

         

TorontoBoy

1:35 pm on Mar 8, 2017 (gmt 0)

5+ Year Member Top Contributors Of The Month



MobileSafari/602.1 CFNetwork/808.3 Is this an old thing or a new one? 60 server requests/day. I've had this for ages. Unrecognized UA [htctu.net...] ? What's their obsession for Apple images? They basically scrape for apple-related info:

GET /apple-touch-icon-120x120-precomposed.png HTTP/1.1
GET /apple-touch-icon-120x120.png HTTP/1.1
GET /apple-touch-icon-precomposed.png HTTP/1.1
GET /apple-touch-icon.png HTTP/1.1
GET /favicon.ico HTTP/1.1

I'm wondering if it is easier to let them in, where they get 404s and 0 bytes, or 403 them for 636 bytes?

My solution:
SetEnvIf User-Agent "MobileSafari\/602\.1\ CFNetwork\/808\.3\ Darwin\/16\.3.0" keep_out

keyplyr

7:41 am on Mar 9, 2017 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



MobileSafari/602.1 CFNetwork/808.3 Is this an old thing or a new one?
Don't know about the actual build number, but the UA is common. This is the icon getter for Safari. It will always request these apple icon files as well as favicons.ico.

It's used all the time, but especially if someone wants to save a link to your site in bookmarks or on the home screen on their phone. Looks better to have an icon for the link, so many of us create these custom icons and make them available in the base directory.

Also, normmal behavior for Safari to request apple touch icons many times, especially if it doesn't find them it can be very persistent.

Here's a resource with instructions on how to create these icons: [blog.karlribas.com...]

TorontoBoy

12:27 pm on Mar 9, 2017 (gmt 0)

5+ Year Member Top Contributors Of The Month



@keyplr Thanks. I would have never thought that this would be useful to the Apple people. I guess I should unban and do up a graphic for them. Thanks for the explanation and the link.

keyplyr

12:42 pm on Mar 9, 2017 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



BTW - if you host the icon in your site's base level directory you really don't need any code in the page's HEAD pointing to it since CFNetwork will look for it there by default.