【发布时间】:2019-06-12 11:35:31
【问题描述】:
我经常看到人们使用如下 URL 获取 CDN 资源。
<script src="//site.domain.com"></script>
我想知道如果将浏览器指定为“https://site.domain.com”会有什么不同
【问题讨论】:
我经常看到人们使用如下 URL 获取 CDN 资源。
<script src="//site.domain.com"></script>
我想知道如果将浏览器指定为“https://site.domain.com”会有什么不同
【问题讨论】:
意思是与实际文件“保持相同的方案”。
见shorthand http:// as // for script and link tags? anyone see / use this before?
更新:正确的链接。
【讨论】: