[wp-trac] [WordPress Trac] #37652: Protocol-relative preconnects are broken

WordPress Trac noreply at wordpress.org
Sat Aug 13 07:27:21 UTC 2016


#37652: Protocol-relative preconnects are broken
---------------------------+-----------------------------
 Reporter:  neoxx          |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Script Loader  |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:  performance    |
---------------------------+-----------------------------
 Following [https://w3c.github.io/resource-hints/] preconnect supports
 protocol-relative URLs.

 The current implementation removes the double-slashes and you'll end up
 with

 {{{
 <link rel='preconnect' href='example.org'>
 }}}

 instead of

 {{{
 <link rel='preconnect' href='//example.org'>.
 }}}

 A real-world test in Chrome confirms that such a preconnect does not work.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37652>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list