コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Experience with jsProcessor/cssProcessor

Avatar

Level 1

Hi all,

with AEM 6.2 YUI compressor can be replaced with Google Closure Compiler (GCC). Do you have any experience with this?

  • Performance
  • JS statements that were compatible with YUI but not with GCC
  • improvements in compression ratio

Thanks.

1 受け入れられたソリューション

Avatar

正解者
Administrator

Hi 

Also look at this forum thread:

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

// This talks about "How can I change the default compressor library from YUI".

    Here one of the community member has given custom approach to achieve this.    

    1) Create a custom tag <new-tags:marks-tag name="custom-clientlibs" />

    2) Create a service that will be invoked by this tag

    3) Inside the service invoke a search for that particlular clientlibs by it's name

    4) Read the content file and copy the files from the jcr in correct order to one big file and save it in memory

    5) Push memory into some local file and run Uglify on it

    6) Upload your newly generated file into the jcr clientlibs folder

    7) Write the location of your compacted file in the jsp

    Impl may vary depending on your CQ clientlibs usage.

I hope this would help you.

~kautuk



Kautuk Sahni

元の投稿で解決策を見る

3 返信

Avatar

正解者
Administrator

Hi 

Also look at this forum thread:

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

// This talks about "How can I change the default compressor library from YUI".

    Here one of the community member has given custom approach to achieve this.    

    1) Create a custom tag <new-tags:marks-tag name="custom-clientlibs" />

    2) Create a service that will be invoked by this tag

    3) Inside the service invoke a search for that particlular clientlibs by it's name

    4) Read the content file and copy the files from the jcr in correct order to one big file and save it in memory

    5) Push memory into some local file and run Uglify on it

    6) Upload your newly generated file into the jcr clientlibs folder

    7) Write the location of your compacted file in the jsp

    Impl may vary depending on your CQ clientlibs usage.

I hope this would help you.

~kautuk



Kautuk Sahni

Avatar

Level 2

Hi kautuksahni​,

The link in this article doesnot work. Can you post correct link?

Regards,

Prahlad

Avatar

Administrator

It is really old thread. And I am afraid if I can pull this up again.



Kautuk Sahni