@astrojs/prefetch
πΏ Minor Changes
1eae2e3f7Thanks @Princesseuh! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.
πΏ Minor Changes
- #6585
9807e4dc2Thanks @kory-smith! - Adds the option to prefetch a link only when it is hovered or focused.
π Patch Changes
- #7613
131c92279Thanks @Yan-Thomas! - Update prefetch README filename syntax
- #6585
π Patch Changes
- #7123
147373722Thanks @connor-baer! - Fix the inclusion of@types/network-information.
- #7123
π Patch Changes
- #6494
a13e9d7e3Thanks @Yan-Thomas! - Consistency improvements to several package descriptions
- #6494
πΏ Minor Changes
- #6213
afbbc4d5bThanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14
- #6213
π Patch Changes
-
#5244
6ad91bd80Thanks @deeprobin! - Do not prefetch if browser is offline or uses 3G -
#5271
b6afe2c1dThanks @tony-sull! - Adds additional package.json keywords used for discoverability in the Integrations catalog
-
π Patch Changes
- #4207
ceb0eef94Thanks @jablonski! - Usepassiveevent listeners for performance
- #4207
π Patch Changes
- #4004
ef9c4152bThanks @sarah11918! - [READMEs] removed βexperimentalβ from astro add instructions
- #4004
π Patch Changes
- #3778
91635f05Thanks @hippotastic! - Fix integration name (prefetchinstead oflit)
- #3778
π Patch Changes
-
#3736
bd4dac0eThanks @tony-sull! - Adds a new@astrojs/prefetchintegration 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>
-