• Resolved cullachie

    (@cullachie)


    I deactivated and removed PWA however it has left a legacy concerning service worker upon which it depended
    It appears that service worker is still there and consequently we are getting 404 errors relating to “site.manifest” and service worker.
    please advise how the service worker debris can be completely removed.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Your browser should remove it automatically ~24 hours after the service worker was removed from your site.

    • This reply was modified 1 year, 6 months ago by Weston Ruter.
    Thread Starter cullachie

    (@cullachie)

    Sorry, but that has not happened. Something is calling for it. See the attached

    Plugin Author Weston Ruter

    (@westonruter)

    That URL is not the Web App Manifest that this plugin generates. This plugin’s Web App Manifest is located at /wp-json/wp/v2/web-app-manifest. So it doesn’t seem to be an issue related to this plugin.

    Plugin Author Weston Ruter

    (@westonruter)

    There are 15 other plugins that incorporate a link to /site.webmanifest.

    Thread Starter cullachie

    (@cullachie)

    We do not have any of these plugins installed. The first time we ever learned about service worker was when PWA was installed.

    Plugin Author Weston Ruter

    (@westonruter)

    Well, this plugin is not responsible for adding /site.webmanifest to your site.

    Thread Starter cullachie

    (@cullachie)

    OK but what about the service worker?

    Plugin Author Weston Ruter

    (@westonruter)

    I see no service worker being installed on trapbarn.com

    Thread Starter cullachie

    (@cullachie)

    Great, it seems to have disappeared.

    Thanks

    Thread Starter cullachie

    (@cullachie)

    Sad to tell you but I continue to find residual code from your plugin. I have found this in several pages…

    import { Workbox } from "https:\/\/www.trapbarn.com\/wp-content\/plugins\/pwa\/wp-includes\/js\/workbox-v6.5.3\/workbox-window.prod.js";
    if ( 'serviceWorker' in navigator ) {
    window.wp = window.wp || {};
    window.wp.serviceWorkerWindow = new Workbox(
    "https:\/\/www.trapbarn.com\/wp.serviceworker",
    {"scope":"\/"} );
    window.wp.serviceWorkerWindow.register();
    }

    It is messing up the site and this results in errors with Google Search Console.

    Kindly tell me how to get rid of all this residue??

    • This reply was modified 1 year, 5 months ago by cullachie.
    Plugin Author Weston Ruter

    (@westonruter)

    Please share the URL where you are seeing this.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Removing the residue’ is closed to new replies.