Metamorphosis
RSS feed

为什么页面引用CDN加速的文件很多都不加http:呢?

因为页面还有可能是 HTTPS 协议的。如果在其中使用 http:// 前缀的 URL,浏览器会报「there are insecure elements on this page」。双斜线可以使该文件以当前协议载入。
原发布于 https://www.zhihu.com/question/21638655/answer/18844076


published 12 Sep 2013
blog comments powered by Disqus

Existentials

  • github
  • flickr
  • twitter
  • facebook
  • linkedin

Blogroll

  • wonderfulmore
  • 北京人在悉尼
  • sukie赵
  • cjPanda
  • btsb
  • vivian
  • cityyoho
  • maple
  • tulip
  • 坦克梁
  • stone
  • pavements
  • 问号鱼
  • Schlaraffenland
  • 東亞毒液學研究所
  • 草木贲华
  • 三楼的卡西欧计算器
  • 追忆吹水年华
  • bad habits die hard
  • 多说无益
  • 一天世界
  • 得果德语