GoogleChromeLabs / GoogleChromeLabs/quicklink
Safari iOS 15.5 Not Using Prefetch Cache with LinkPrefetch Enabled
- Dominant language
- JavaScript
- Stars
- 11.3k
- Forks
- 429
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
On Safari iOS 15.5 with LinkPrefetch enabled, links are being prefetched but then fetched again after navigation.
**To Reproduce**
1. On Safari iOS 15.5, enable LinkPrefetch in Advanced Safari settings
2. Go to optimized demo https://mini-ecomm-quicklink.glitch.me/
3. After prefetch, click on first link
The prefetch happened:

But the content was fetched again:

**Expected behavior**
The prefetch content is served from prefetch cache (faster than fetching the content)
**Version:**
- OS w/ version: iOS 15.5
- Browser w/ version: Safari
**Additional context, screenshots, screencasts**
LinkPrefetch is enabled

Contributor guide
Assessment
This issue has not been assessed yet.