https://github.com/midzer/prespeculation
Prefetch/preload links on hover and prerender on click via Speculation Rules API
https://github.com/midzer/prespeculation
Last synced: about 1 year ago
JSON representation
Prefetch/preload links on hover and prerender on click via Speculation Rules API
- Host: GitHub
- URL: https://github.com/midzer/prespeculation
- Owner: midzer
- License: mit
- Created: 2023-02-21T10:29:48.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-21T13:56:43.000Z (about 3 years ago)
- Last Synced: 2025-03-29T19:22:31.639Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# prespeculation
Prefetch/preload links on hover and prerender on click via Speculation Rules API
## Features
* ultra-tiny (> 1kB gzipped)
* bandwidth-friendly (load on hover)
* memory-friendly (removes event handler gracefully)
## Inspiration
This library is heavily influenced by
* [instant.page](https://github.com/instantpage/instant.page)
* [quicklink](https://github.com/GoogleChromeLabs/quicklink)
## Support
* Chrom* M110+
* Firefox (prefetch only)
* Safari 11.1+ (preload only)
* IE11 (prefetch only, needs Intersection Observer polyfill, untested)