Skip to content

Latest commit

 

History

History
104 lines (57 loc) · 4.86 KB

CHANGELOG.md

File metadata and controls

104 lines (57 loc) · 4.86 KB

@astrojs/prefetch

0.2.3

Patch Changes

0.2.2

Patch Changes

0.2.1

Patch Changes

0.2.0

Minor Changes

0.1.2

Patch Changes

0.1.1

Patch Changes

0.1.0

Minor Changes

0.0.8

Patch Changes

0.0.7

Patch Changes

0.0.6

Patch Changes

0.0.5

Patch Changes

0.0.4

Patch Changes

0.0.3

Patch Changes

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 with rel="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>