Alternative solution for advanced aggregation on 10.1+

Created on 18 December 2023, 11 months ago
Updated 11 September 2024, 2 months ago

Problem/Motivation

Alternative solution for advanced aggregation css / js

Steps to reproduce

Migration of Drupal 9.5.11 to Drupal 10.1.5

On Drupal 9.5.11, we used this module to aggregate css/js files effectively. But now, on Drupal 10.1 this module does not seen to work accordingly. Have anyone used an alternative module to compress css / js files on Drupal 10.1 ? Otherwise the website is suffering performance issue on desktop and mobile. It takes more time to load the page.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Version

6.0

Component

General CSS/JS

Created by

🇲🇺Mauritius danilos13

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

Comments & Activities

  • Issue created by @danilos13
  • Issue was unassigned.
  • 🇦🇷Argentina darktek

    Hi
    Any words on this?
    IT is not working properly on my end either

  • Hi,

    Could someone please provide an update on when we can expect a new release addressing the issue in above Drupal 10.1 version?

    In the meantime, are there any alternative modules available that can serve a similar purpose and are compatible with Drupal 10.1? Any suggestions would be greatly appreciated.

    Thanks

  • 🇺🇸United States chucksimply

    Looks like this module is unusable for anything beyond 10.1. This is a major issue to say the least. Can the maintainer or anyone provide updates? Or is there another recommended module? Can we expect a working version at some point? Thanks!

  • 🇺🇸United States chucksimply
  • 🇬🇧United Kingdom catch

    Drupal core covers nearly everything that advagg has done as of 10.1 - both async aggregate generation and minification of JavaScript, so you should be fine to just disable advagg and use core's css and js aggregation. There are further improvements to core's aggregation as of 10.3.x too.

  • 🇬🇧United Kingdom catch
  • 🇮🇳India zartab farooquee

    Three effective solutions to optimize CSS and JavaScript in Drupal 10:

    1. Lazy Loader
    Defers loading of off-screen images and iframes until they enter the viewport, improving initial load times and conserving bandwidth, especially for mobile users.

    2. CDN Module
    Delivers static assets (CSS, JS, images) from servers closest to the user, reducing latency and enhancing performance for a global audience. Ideal for high-traffic sites.

    3. Minify JS and CSS
    Removes unnecessary characters and whitespace from JavaScript and CSS files, resulting in smaller file sizes and faster load times. This is crucial for sites with extensive scripts and styles.

  • 🇸🇮Slovenia KlemenDEV

    I think this is sort of duplicate of https://www.drupal.org/project/issues/advagg?categories=All →

    But yes, seems this project stalled with Drupal 10.1+

Production build 0.71.5 2024