Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Need to change the JS order change in AEM clientlibs

Avatar

Level 1

I have a set of script tag loading on the body level of the AEM instance since there is a cache issue because of the ordering in clientlibs which is getting loaded. I want to change the order and have control of arranging the script tag.

Attaching a screenshot for reference.

Screenshot from 2022-08-04 12-28-04.png

Any help will be appreciated.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

The script clientlibs are loaded by your code. So you should update your code to change the script rendering sequence.

 

Do you see any challenge in it?

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

The script clientlibs are loaded by your code. So you should update your code to change the script rendering sequence.

 

Do you see any challenge in it?