When CSS loads by JS and JS loads deferred CSS loads too fast and GPI says that there is CSS render-blocking content in head.
I attached two screens (1: settings AdvAgg module, 2: GPI - with render-blocking)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Archual created an issue. See original summary.

Archual’s picture

Archual’s picture

I created small patch for delay loading of deferred CSS.

mikeytown2’s picture

How does that patch affect the google page speed score? How does it effect start render time in webpagetest?

Archual’s picture

This can be removed.
Google page speed has strange behavior. If first view of page differs of full page load view, it says that site has blocking css in head.
I thought that CSS loads too fast and google see file like it in head of the site, but when we fix our first view of page (recreate slider on the page) GPI stop to say that we have CSS in head.

I think this patch doesn't need at all. Suggest to close this issue.

mikeytown2’s picture

Status: Active » Closed (works as designed)