Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Safari on iOS support the DNS Prefetch directive?

I've recently come across the DNS Prefetch directive as part of the HTML5 Boilerplate template. According to Wikipedia:

Prefetching is not currently explicitly defined by any accepted standards, but Mozilla have announced work on an Internet Draft, that will match the implementation in Firefox.

<link rel="prefetch" href="http://www.example.com/">

I read information that back in September 2010, there was a fix for Safari 5.0.1 that fixed slow/stalled page loads when DNS Prefetch directives were present. However, I couldn't any information on whether Safari on iOS supports the DNS Prefetch.

We are building some HTML 5 pages that are loaded exclusively in a UIWebView within an iOS app. On this page there are a few external resources we're loading so I'd like to improve page load times and use the DNS Prefetch if it's going to help.

like image 845
TMC Avatar asked Nov 05 '22 20:11

TMC


1 Answers

Unfortunately can't give a satisfying complete answer, but definitely not before iOs 4.3.3 according to http://osdir.com/ml/phonegap/2011-07/msg00770.html

like image 56
Joscha Avatar answered Nov 11 '22 03:11

Joscha