Lighthouse start_url and service worker problem
-
Hello!
I know this has been asked many times but none of those other posts seem to solve our issue, so I ask again.
Our Lighthouse report shows these 3 PWA errors:
Current page does not respond with a 200 when offline
start_url does not respond with a 200 when offline
Does not register a service worker that controls page and start_urlFollowing other suggestions, what we’ve tried:
– We’ve changed the start page to a different one from the home page
– We’ve made sure both images are sized correctly
– We’ve made sure manifest and js actually load (since it seems it used to be an issue while using nginx). Although they do load, we added the 3 suggested rewrite rules to nginx (we’ve removed them already).
– We’ve excluded /superpwa* from cacheOur setup:
– We’re hosted in a Google Compute Engine instance running Nginx, and behind Google Load Balancer to be able to use the CDN.For testing purposes, currently all caches are clean and disabled: CDN, Nginx and just in case a couple of WP plugins.
Server information and plugins:
WordPress Version: 5.6
Current WordPress Theme: GeneratePress version 3.0.2
Theme Author: Tom Usborne – https://tomusborne.com
Theme URI: https://generatepress.com
PHP Version: 7.3.14
MySQL Version: 8.0.18
Apache Version: This information is not available.
Active Plugins:a2System Site Plugin for Depaning.fr (Unversioned)
ACF QuickEdit Fields (3.1.1)
Advanced Custom Fields (5.9.3)
AMP (2.0.8)
AMP Blocks (1.6.3)
AMP for GeneratePress (0.1)
Code Snippets (2.14.0)
Contact Form 7 (5.3.1)
Contact Form 7 Zoho Pro (1.1.3)
Contact Form Entries (1.1.6)
Custom Taxonomy Cleanup (1.0.0)
Debug Info (1.3.9)
GenerateBlocks (1.2.0)
GP Premium (1.10.0)
LiteSpeed Cache (3.5.2) <=== Only used for serving webp images, not for caching. Temporarily disabled for the tests
Nginx Cache (1.0.5) <== just to clear nginx cache from UI. Temporarily disabled for the tests
SecuPress Pro — WordPress Security (1.4.12)
Show Hide Author (2.2)
Super Progressive Web Apps (2.1.3)
Toolset Blocks (1.2.1)
Toolset Types (3.3.10)
UpdraftPlus – Backup/Restore (1.16.42)
WordPress Importer (0.7)
WP Mail SMTP (2.5.1)
Yoast Duplicate Post (3.2.6)
Yoast SEO Premium (15.4)
Yoast Test Helper (1.11)Any ideas what the problem could be are very much appreciated.
Thanks in advance!
- This topic was modified 4 years, 3 months ago by . Reason: typo in title
- This topic was modified 4 years, 3 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Lighthouse start_url and service worker problem’ is closed to new replies.