Currently any question on Programmers SE (this for example) page source contains this in the <head>:

<link rel="apple-touch-icon" href="http://cdn.sstatic.net/programmers/img/apple-touch-icon.png">
<link rel="image_src" href="http://sstatic.net/programmers/img/apple-touch-icon.png">

and looks like the same goes for any other Stack Exchange site except Meta.

For any given site the two images look completely identical and loading them twice from different URLs looks completely useless.

Two concerns:

  1. why those are two distinct URLs instead of one URL
  2. why these two links are present on pages with questions only, but the main page only contains the first link
  • 2
    First one is for Apple's devices, second one is for Facebook, neither is requested when visiting the site from your browser. – yannis Jun 5 '12 at 9:00
  • @Yannis Rizos: Why not store just one and use the same URL twice? – sharptooth Jun 5 '12 at 9:03
  • 1
    It is only stored once (the CDN just pulls from sstatic.net). – balpha Jun 5 '12 at 9:09
  • As @balpha said, it's only stored once. Apple and FB have different ways of locating the image, hence the redundancy. Welcome to web development! – yannis Jun 5 '12 at 9:18
  • @Yannis Rizos: Why are two distinct URLs required? – sharptooth Jun 5 '12 at 9:19
  • I don't think they are. @balpha? – yannis Jun 5 '12 at 9:21
  • They're not required. They might as well use the same URL; they just happen to appear that way. It just doesn't matter. – balpha Jun 5 '12 at 9:21
  • @balpha: I've discovered that the links are different on the main page and on the questions pages and edited the question to reflect my findings. Is that okay? – sharptooth Jun 5 '12 at 11:45

You must log in to answer this question.

Browse other questions tagged .