demo · v133
Prefetch 5-min rule removal
Fire a real <link rel="prefetch">, then re-fetch the same URL and inspect Resource Timing. Pre-133, Chrome forced a 5-minute survival window for prefetches regardless of Cache-Control. Post-133 the standard HTTP cache rules apply.
re-fetch duration (ms)
-
transferSize (0 = cache hit)
-
checking support...
the code
// Server may send: Cache-Control: max-age=30
// Pre-Chrome 133: prefetch entry stayed 5 minutes regardless.
// Post-133: prefetch obeys Cache-Control like any resource.
const l = document.createElement("link");
l.rel = "prefetch";
l.href = url;
document.head.appendChild(l);
see also
- Remove link rel=prefetch 5-minute rule - feature index
- ChromeStatus entry