predictiveCacheListeners()
If a service worker is being used (and Cache API is available), the resource will be fetched and added to the cache. Otherwise, it will attempt to prefetch with a resource hint instead. It also does not run when offline. Note: This only enables event listeners! To add to the cache, see or. Read More »