Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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)
Comment | File | Size | Author |
---|---|---|---|
#3 | advagg-timeout_load_deffered_css-2842605-2.patch | 624 bytes | Archual |
11-01-2017 14-04-41.jpg | 170.03 KB | Archual | |
11-01-2017 14-03-23.jpg | 308.34 KB | Archual |
Comments
Comment #2
Archual CreditAttribution: Archual at Cold Brain commentedComment #3
Archual CreditAttribution: Archual at Cold Brain commentedI created small patch for delay loading of deferred CSS.
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedHow does that patch affect the google page speed score? How does it effect start render time in webpagetest?
Comment #5
Archual CreditAttribution: Archual at Cold Brain commentedThis 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.
Comment #6
mikeytown2 CreditAttribution: mikeytown2 commented