【问题标题】:HTML5 Prefetch Fails after first link第一个链接后 HTML5 预取失败
【发布时间】:2013-12-06 07:48:47
【问题描述】:

我在玩 HTML5 的预取时遇到了一个奇怪的问题。

我有一个大约 10 页的列表,我正在添加。

<link href="/contact-us" rel="prefetch">
<link href="/about-us/" rel="prefetch">
<link href="/about-us/directors-biography" rel="prefetch">
<link href="/about-us/patient-privacy/" rel="prefetch">
<link href="/about-us/patient-privacy/patients-rights-statute" rel="prefetch">
<link href="/about-us/patient-privacy/hipaa-basics" rel="prefetch">
<link href="/about-us/insurance-information" rel="prefetch">
<link href="/about-us/employment-opportunities" rel="prefetch">
<link href="/our-services/" rel="prefetch">
<link href="/patient-info/" rel="prefetch">
<link href="/health-info/" rel="prefetch">
<link href="/about-us/our-staff" rel="prefetch">
<link href="/patient-info/new-patients" rel="prefetch">
<link href="/about-us/clinical-research" rel="prefetch">

现在,我正在查看 Firebug 以确保它正常工作,但是,我在 /contact-us 上获得了“已中止”状态

谁能告诉我我做错了什么?如果有帮助,这在 LAMP 堆栈上...

已验证这也发生在 Chrome 中。 IE11(suprise suprise)效果很好……

【问题讨论】:

    标签: html lamp prefetch


    【解决方案1】:

    您的代码或服务器没有问题,预取由浏览器处理和控制,您只能将其配置为遵循或不遵循指令。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-01-04
      • 2014-05-18
      • 2023-03-10
      • 1970-01-01
      • 1970-01-01
      • 2023-03-31
      • 1970-01-01
      相关资源
      最近更新 更多