// Prefetches the URL with default PrefetchConfiguration prefetch('/some/url')
// Prefetches the URL as fetch with custom PrefetchConfiguration prefetch('/some/url', "fetch", { // Overrides the default Prefetch TTL or serviceWorkerSeconds value defined in routes.js // for this specific prefetch call maxAgeSeconds:300, // 5 minutes
// Overrides the default forcePrefetchRatio value from install() function includeCacheMisses:true });
Prefetches and caches the specified URL.
Example