Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Clientlib || Minification Engine

Avatar

Avatar
Validate 1
Level 1
anupamm13392644
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
anupamm13392644
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
anupamm13392644
Level 1

31-07-2019

Can GCC be used as a minification engine of CSS?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,079 likes

Total Posts

3,117 posts

Correct Reply

1,060 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,079 likes

Total Posts

3,117 posts

Correct Reply

1,060 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

31-07-2019

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

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

Answers (6)

Answers (6)

Avatar

Avatar
Ignite 1
Level 3
rampai
Level 3

Likes

19 likes

Total Posts

50 posts

Correct Reply

7 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Ignite 1
Level 3
rampai
Level 3

Likes

19 likes

Total Posts

50 posts

Correct Reply

7 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
Level 3

31-07-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.

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

377 likes

Total Posts

867 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

377 likes

Total Posts

867 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

01-08-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"

Avatar

Avatar
Validate 1
Level 1
anupamm13392644
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
anupamm13392644
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
anupamm13392644
Level 1

31-07-2019

Hi joerg,

thanks for the reply.

Avatar

Avatar
Validate 1
Level 1
anupamm13392644
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
anupamm13392644
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
anupamm13392644
Level 1

31-07-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.

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

377 likes

Total Posts

867 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

377 likes

Total Posts

867 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

31-07-2019

Are you running into issues when using YUI for css?

Avatar

Avatar
Validate 1
Level 1
anupamm13392644
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
anupamm13392644
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
anupamm13392644
Level 1

31-07-2019

Thanks rampai.