From: maxious Date: Mon, 01 Aug 2011 02:41:59 +0000 Subject: Use dns-prefetch X-Git-Url: https://maxious.lambdacomplex.org/git/?p=busui.git&a=commitdiff&h=dfb501aa39dc42fd83d2915e7419eac344f99d62 --- Use dns-prefetch --- --- a/include/common-template.inc.php +++ b/include/common-template.inc.php @@ -34,6 +34,8 @@ ' . $pageTitle . ' + + '; if (isDebugServer()) { $jqmcss = $labsPath . 'css/jquery.mobile-1.0b1.css'; @@ -41,9 +43,9 @@ $jqmjs = $labsPath . 'js/jquery.mobile-1.0b1.js'; } else { - $jqmcss = "http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css"; - $jqjs = "http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"; - $jqmjs = "http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"; + $jqmcss = "//code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css"; + $jqjs = "//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"; + $jqmjs = "//code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"; } echo '