Pagespeed insights broken when using optimization of “optimal” or above
-
I use ngrok while developing locally to share my wordpress sites with other. In order to do so, I have to use a plugin called “relative-urls’ which, as the name states, makes the link structure relative instead of absolute. I say this because I believe it may be causing the interference.
When I set Pagespeed Ninja to a setting of “Optimal” or higher, Google Pagespeed Insights gives me the following message.
Lighthouse returned error: ERRORED_DOCUMENT_REQUEST. Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: 500) You may refresh to try again.
The Ngrok logs show the process GET / returning the 500 Internal Server error code upon any use of the sight. Oddly enough, the site loads just fine.
I tried to solve the issue by finding the differences between the “Compact” and “Optimal” settings, but failed to tease out any meaningful pattern.UPDATE: I’ve teased out the option “Prioritize visible content” to be the issue. I have no clue as to why it’s causing this error, however. Any ideas?
Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Pagespeed insights broken when using optimization of “optimal” or above’ is closed to new replies.