Clientlib || Minification Engine | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Jul 31, 2019 6:03 PM UTC

You can use GCC in AEM as well, see the documentation at [1].

[1] Change the minification engine for client libraries in AEM

7 replies

Employee
Aug 1, 2019 2:08 PM UTC

We can investigate why the compression is failing, Please log a daycare ticket with the following info:

1) DEBUG logger for Clientlibs:

  • Go to http://<host>:<port>/system/console/slinglog
  • Click on "add new logger"
  • Set the Log Level to DEBUG
  • Change the log Filename to "clientlibs.log"
  • Add the following class in the "Logger" field:
    com.adobe.granite.ui.clientlibs
    - Click on Save.

2) Share the above logger after you try to rebuild libraries from "http://<host>:<port>/libs/granite/ui/content/dumplibs.rebuild.html"

Translate
Aug 1, 2019 5:02 AM UTC

Hi joerg,

thanks for the reply.

Translate
Aug 1, 2019 5:01 AM UTC

Yes. but when i am trying to minimise the same css using online yui compression tool and i am able to minify and also i am facing this issue on publish env. so i guess it rules out a possiiblity of error in code.

Translate
joerghoh
joerghohAccepted solution
Employee
Jul 31, 2019 6:03 PM UTC

You can use GCC in AEM as well, see the documentation at [1].

[1] Change the minification engine for client libraries in AEM

Translate
Employee
Jul 31, 2019 1:38 PM UTC

Are you running into issues when using YUI for css?

Translate
Jul 31, 2019 10:04 AM UTC

Thanks rampai.

Translate
rampai
Level 1
Jul 31, 2019 9:58 AM UTC

Hi anupamm13392644​,

GCC is primarily used for JS Minification and not CSS.

As stated in the official documentation:

The Closure Compiler is a tool for making JavaScript download and run faster. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript.

Translate