@barba/prefetch

Automatically fetch and cache your pages based on the viewport

Usage no npm install needed!

<script type="module">
  import barbaPrefetch from 'https://cdn.skypack.dev/@barba/prefetch';
</script>

README

@barba/prefetch

NPM version Dependencies

TBD (GitHub repo)

Install

Using npm:

npm install --save-dev @barba/prefetch

or using yarn:

yarn add @barba/prefetch --dev