critical icon indicating copy to clipboard operation
critical copied to clipboard

creating critical-css incorrectly? How to open chrome browser while creating critical-css to debug

Open admicro opened this issue 3 years ago • 3 comments

I want this software to open chrome browser while creating critical-css, what should I do? This tool has a built-in penthouse, but I don't know how to use it. Can you give me some snippets to learn from it.

Purpose: before creating critical-css I want the browser to wait a few seconds, mouse click or scroll down a little (understand that there is interaction with the page).

I think action like that will generate critial css correctly.

Thank very much.

admicro avatar Aug 28 '20 09:08 admicro

Hey @admicro, the purpose of critical css is to let the browser render the initial viewport before the site is fully loaded. When you scroll or interact with the page the browser should have already loaded the non critical styles.

What styles are you missing or which styles are not generated correctly?

bezoerb avatar Sep 06 '20 21:09 bezoerb

thank you! i fixed it.

admicro avatar Sep 08 '20 09:09 admicro

Could you describe how you fixed it? Maybe this helps other users facing the same issue. Thanks

bezoerb avatar Sep 08 '20 17:09 bezoerb

I'm closing this due to lack of feedback. Feel free to reopen if there are new insights

bezoerb avatar Jan 27 '24 23:01 bezoerb