Nuxt.js: Page Prefetching

Created on 10 Feb 2017  Â·  6Comments  Â·  Source: nuxt/nuxt.js

Can't find any info on this, but does Nuxt have a page prefetching feature similar to Next.js?

Basically it loads a page in the background, which provides instant navigation once user actually clicks the link.

This feature request is available on Nuxt.js community (#c196)
available soon

Most helpful comment

@Atinux , Sorry for commenting on a closed issue, I was going through the documentation of vue and nuxt to decide whether to use this in producion.
I have a question about prefetch:
Can we set what links we want prefetched?
Like if I have 10 links on my home page I don't want them all to be prefetched (want only the most visited ones).

All 6 comments

Not yet @FrancosLab

We will add this feature when we will start working on performances with progressive web apps, see #23

This is currently documented, but does not appear to be implemented yet. Am I misunderstanding or was this documented early?

It will be implemented in the next release, but via prefetch headers.

The 0.10 release it out ✋

@Atinux , Sorry for commenting on a closed issue, I was going through the documentation of vue and nuxt to decide whether to use this in producion.
I have a question about prefetch:
Can we set what links we want prefetched?
Like if I have 10 links on my home page I don't want them all to be prefetched (want only the most visited ones).

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

usb248 picture usb248  Â·  55Comments

Crazymuyang picture Crazymuyang  Â·  45Comments

hackuun picture hackuun  Â·  51Comments

snoopy83101 picture snoopy83101  Â·  47Comments

renatomattos2912 picture renatomattos2912  Â·  47Comments