Can I change all my http:// links to just //?

后端 未结 7 1495
后悔当初
后悔当初 2020-11-22 01:12

Dave Ward says,

It’s not exactly light reading, but section 4.2 of RFC 3986 provides for fully qualified URLs that omit protocol (the HTTP or HTTPS) a

相关标签:
7条回答
  • 2020-11-22 01:48

    If you use protocol-less URLs to load stylesheets, IE 7 & 8 will download them twice: http://www.stevesouders.com/blog/2010/02/10/5a-missing-schema-double-download/

    So, this is to be avoided for CSS if you like good performance.

    0 讨论(0)
提交回复
热议问题