Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Some user agents don't understand protocol-relative urls in some circumstances #314

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

http://www.stevesouders.com/blog/2010/02/10/5a-missing-schema-double-download/

Internet Explorer 7 & 8 will download stylesheets twice if the http(s) protocol 
is missing.

For example: <link type="text/css" rel="stylesheet" 
href="//www.google.com/phone/static/2496921881-SiteCss.css">

We should investigate this. Perhaps stripping the protocol could be making 
sites slower on some IE browsers.

Original issue reported on code.google.com by jmaes...@google.com on 28 Jun 2011 at 8:39

@GoogleCodeExporter
Copy link
Author

We've disabled protocol-relative url shortening in head.  We'll consider 
re-enabling it (with a user-agent check) if there's demand, but the savings 
after compression are generally small.

Original comment by jmaes...@google.com on 13 Jul 2011 at 6:07

  • Changed state: Fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant