Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

adamraine
Copy link
Member

Fixes #16118

This is to avoid having the CSS domain enabled during the navigation. Unfortunately, I don't see a way to have the CSS domain disabled and collect transient stylesheets.

Now, Lighthouse will only detect stylesheets that are present at the end of the run. This will affect timespan mode more than navigation mode.

@adamraine adamraine requested a review from a team as a code owner July 17, 2024 15:57
@adamraine adamraine requested review from connorjclark and removed request for a team July 17, 2024 15:57
@connorjclark
Copy link
Collaborator

connorjclark commented Jul 17, 2024

Can we do this only in navigation mode so as not to hamper timespan?

@adamraine
Copy link
Member Author

Can we do this only in navigation mode so as not to hamper timespan?

That is one option, but the only audit this should affect in timespan mode is unminified-css. I think accurate performance metrics in timespan mode should be paramount over accuracy in unminified-css.

@paulirish paulirish merged commit cd21fa3 into main Jul 23, 2024
@paulirish paulirish deleted the no-transient-stylesheets branch July 23, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Page loads very slowly due to CSS.enable
4 participants