mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
d790eabd98
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2.1 KiB
2.1 KiB
@astrojs/prefetch
0.0.6
Patch Changes
- #4004
ef9c4152b
Thanks @sarah11918! - [READMEs] removed "experimental" from astro add instructions
0.0.5
Patch Changes
0.0.4
Patch Changes
- #3854
b012ee55
Thanks @bholmesdev! - [astro add] Support adapters and third party packages
0.0.3
Patch Changes
- #3778
91635f05
Thanks @hippotastic! - Fix integration name (prefetch
instead oflit
)
0.0.2
Patch Changes
-
#3736
bd4dac0e
Thanks @tony-sull! - Adds a new@astrojs/prefetch
integration with the goal of adding near-instant page navigation for Astro projects. HTML and CSS for visible links marked withrel="prefetch"
will be preloaded in the browser when the browser is idle.astro.config.mjs
import prefetch from '@astrojs/prefetch'; export default { // ... integrations: [prefetch()], };
<!-- Prefetch HTML and stylesheets for the /products page --> <a href="/products" rel="prefetch">All Products</a>