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.
Best answer by joerghoh

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
August 1, 2019

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"

August 1, 2019

Hi joerg,

thanks for the reply.

August 1, 2019

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.

joerghoh
joerghohAccepted solution
Employee
July 31, 2019

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

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

Employee
July 31, 2019

Are you running into issues when using YUI for css?

July 31, 2019

Thanks rampai.

rampai
New Participant
July 31, 2019

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.