I
I
Ilya Matviychuk2020-08-25 17:14:08
WordPress
Ilya Matviychuk, 2020-08-25 17:14:08

Why don't pwa plugins work?

I tried to make pva using pwabuilder . But an error popped up

pwabuilder-sw.js:1 Uncaught (in promise) TypeError: Request failed
Here are the first 3 lines of this file:
// This is the "Offline page" service worker

importScripts('https://storage.googleapis.com/workbox-cdn/releases/5.0.0/workbox-sw.js');


Then I tried (not at the same time) PWA for WP & AMP and Super Progressive Web Apps plugins . In their tinctures, there were green checkmarks everywhere, they say everything works well. But lighthouse writes:
5f451c8f28c25595296428.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Matviychuk, 2020-08-25
@iliya2004

I did not understand the plugins, but the problem is solved. I took a service worker from another site and connected it to the root of my site

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question