首次链接后HTML5预取失败

时间:2013-11-21 17:23:23

标签: html5 lamp prefetch

在玩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以确保它有效,但是,我正在/联系我们获得“已中止”状态

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

验证这也适用于Chrome。 IE11(suprise suprise)效果很好......

1 个答案:

答案 0 :(得分:1)

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