Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

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

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.