A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/issues/5964 below:

Add shouldPrefetch() in vue-server-renderer · Issue #5964 · vuejs/vue · GitHub

What problem does this feature solve?

When using Vue to create a static site (like via nuxt generate) every code split asset is getting prefetched. This is an awesome feature if we were thinking about offline mode, but when you're trying to create a site with triple digit routes and little concern for offline browsing (i.e. a marketing site) this is creating some pretty beefy code overhead.

It would be great if there was a way to get a shouldPrefetch in vue-server-renderer, similar to shouldPreload.

What does the proposed API look like?

Exactly like shouldPreload(), but for prefetching would be great.

daliborgogic, achen224, FranckFreiburger and acupofspirt


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4