Giter VIP home page Giter VIP logo

Comments (6)

adamraine avatar adamraine commented on July 30, 2024

what is the reason that NO FCP error is triggering?

As the error message says, the page did not paint any content. This can happen for a variety of reasons but is pretty common if the page Lighthouse is testing is hidden.

what other solutions could resolve the issue?

We need to know how to reproduce this issue in order to diagnose it. What page are you testing on?

additionally, could there be any security issues on the server that could be causing the trigger? If yes, what type of security settings could cause the issue?

This is not likely to be a security issue. The browser is probably just having trouble rendering content for some reason.

from lighthouse.

benschwarz avatar benschwarz commented on July 30, 2024

You may be able to work around this issue by increasing max load wait time or max fcp wait time. In Calibre we have an automatic test retry that watches for NO_FCP errors and re-runs with extended timeouts. In the majority of cases that helps to capture a successful test. If not, there's likely an issue on your side @daphneyyt

from lighthouse.

daphneyyt avatar daphneyyt commented on July 30, 2024

Hi @benschwarz we will try increasing the max load wait time and max FCP wait time. However, we would like more guidance on how to do this:

  1. Are there any specific settings or adjustments you would recommend, either on the Google Lighthouse tool or the website we are testing? (From our research, it seems like the max load wait time and max FCP time is set on Google Lighthouse.)

  2. One of the suggestions online was to have some content with a non-zero opacity on first load on the website. But we are uncertain on where we should apply this.

Hi @adamraine do you have an email address / contact that we could reach you at? The website is confidential and we would prefer not to share its details over GitHub.

Thank you!

from lighthouse.

adamraine avatar adamraine commented on July 30, 2024

Please send the link to my email found here: https://mailhide.io/e/oDc3THdp

from lighthouse.

daphneyyt avatar daphneyyt commented on July 30, 2024

Hi @adamraine thank you. I've dropped you an email with the necessary details.

from lighthouse.

adamraine avatar adamraine commented on July 30, 2024

Thank you for sharing the site, I am able to reproduce the NO_FCP error. The root cause is that there is no visible content in the main frame of the web page, all of the visible content is contained in an iframe. Lighthouse does not look for FCP within iframe elements, and since there was no FCP in the main frame Lighthouse throws an error.

One workaround would be to test the performance of the site in the iframe directly.

Closing because this is WAI.

from lighthouse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.