mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
f0666b92c3
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5.4 KiB
5.4 KiB
@astrojs/prefetch
0.3.0
Minor Changes
- #6585
9807e4dc2
Thanks @kory-smith! - Adds the option to prefetch a link only when it is hovered or focused.
Patch Changes
- #7613
131c92279
Thanks @Yan-Thomas! - Update prefetch README filename syntax
0.2.3
Patch Changes
- #7123
147373722
Thanks @connor-baer! - Fix the inclusion of@types/network-information
.
0.2.2
Patch Changes
0.2.1
Patch Changes
- #6494
a13e9d7e3
Thanks @Yan-Thomas! - Consistency improvements to several package descriptions
0.2.0
Minor Changes
- #6213
afbbc4d5b
Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14
0.1.2
Patch Changes
0.1.1
Patch Changes
-
#5244
6ad91bd80
Thanks @deeprobin! - Do not prefetch if browser is offline or uses 3G -
#5271
b6afe2c1d
Thanks @tony-sull! - Adds additional package.json keywords used for discoverability in the Integrations catalog
0.1.0
Minor Changes
0.0.8
Patch Changes
0.0.7
Patch Changes
- #4207
ceb0eef94
Thanks @jablonski! - Usepassive
event listeners for performance
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>