Hi all,
with AEM 6.2 YUI compressor can be replaced with Google Closure Compiler (GCC). Do you have any experience with this?
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi
Also look at this forum thread:
// 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
Views
Replies
Total Likes
Hi
Also look at this forum thread:
// 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
Views
Replies
Total Likes
Views
Replies
Total Likes
It is really old thread. And I am afraid if I can pull this up again.
Views
Replies
Total Likes