• Resolved Murali Kumar

    (@amuralikumar)


    Homepage is showing the following code that says, Installing service worker…

    <!DOCTYPE html>
    		<html>
    			<head>
    				<meta charset="utf-8">
    				<title>Service Worker Installation</title>
    			</head>
    			<body>
    				Installing service worker...				<script>navigator.serviceWorker.register( "https:\/\/www.vanguardngr.com\/wp.serviceworker", {"scope":"\/"} );</script>			</body>
    		</html>
Viewing 1 replies (of 1 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    That code is specifically coming from the AMP plugin via the amp-install-serviceworker component.

    Specifically, this page is served when the homepage is accessed with this query parameter: /?amp_install_service_worker_iframe=front.

    Are you saying your site is serving the SW installation page even when accessing / without any query parameters? If so, that seems like a problem with your page caching plugin that may be configured to ignore the amp_install_service_worker_iframe query parameter.

Viewing 1 replies (of 1 total)
  • The topic ‘Homepage Shows “Installing service worker…”’ is closed to new replies.