After Activating Advanced CSS/JS Aggregation 6.0.0 alpha1 version, it reduced Page score

Created on 24 April 2023, about 1 year ago
Updated 3 February 2024, 5 months ago

Problem/Motivation

I upgraded Advanced CSS/JS Aggregation module from 5.0 to 6.0.0-alpha1 version.

But my page insight score or lighthouse score reduced to half from 40 to around 20

Website was loading but became slow.

I am on Drupal 9.5.7; Apache/2.4.37 (centos) OpenSSL/1.1.1k PHP/8.1.18

🐛 Bug report
Status

Active

Version

6.0

Component

Code

Created by

🇮🇳India rajesh190888

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @rajesh190888
  • 🇫🇷France RaphMo Nantes

    Hello rajesh190888,

    Have you found a solution since you have raised this issue ?
    We have also switched from 5.0 to 6.0.0-alpha1 version, and we noticed the same issue. Webperfs have decreased.

    Looking forward to hearing from you,

  • 🇮🇳India rajesh190888

    Not so far. We needed to remove it.

  • 🇬🇧United Kingdom Lincoln-Batsirayi

    Hey guys, i think this might be the same issue which I'm experiencing I'll tell you some of the issues I've noticed. So after upgrading one of our sites to Drupal 10 we noticed that pages were taking more than 8 seconds to load (using the network tab in dev tools) and after digging deeper into the issue i found that this was being caused by the js aggregated file. But interestingly if we turned off js aggregation then the pages would load quickly which doesn't make sense because aggregation is supposed to have the opposite effect.

    Recently we saw that now there's an extra bug, if js aggregation is turned off sometimes when the page loads none of the javascript works at all until the page is refreshed, and the only way to stop this bug is to turn off js aggregation but obviously that then introduces the slow loading issue again. Does this sound at all similar to anyone else's experience?

  • I am not experiencing this issue with Drupal 10.0.11, Nginx and PHP-FPM 8.2.

    @Lincoln-Batsirayi: I do not know which version you are using, but note that AdvAgg is not yet compatible with Drupal 10.1!

  • 🇮🇹Italy senzaesclusiva

    Same issue here with version 6.0.0-alpha1 on Drupal 10.2.2
    I had to temporarily disable it

Production build 0.69.0 2024