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

How to only bundle the authored components clientLibs rather all mentioned in embed

Avatar

Avatar
Level 1
Kailash07
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Kailash07
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
Kailash07
Level 1

07-11-2020

Hello All

I am new to AEM world so excuse me for semantics. 

We are having page performance issue reported by LH specifically for mobile strategy. One of the reason we found that bundled clientLibs are having extra JS of components which are even not present on the page ie not authored. We have component specific clientLibs so our component which represents a page is embed with list of all possible configurable components clientLibs. Now content author are configuring only subset from all mentioned components but when page is rendered it bundles the Js of all mentioned clientLibs. Is there out of box option to restrict bundling only authored components for that page ? We are just exploring the options to achieve this, Please help us to explore in right direction. Can this be achieved either by :

1) Extending the Html library manager

2) Hook-up page publish work-flow

 

Thanks in advance

Kailash

 

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Establish
MVP
Anudeep_Garnepudi
MVP

Likes

275 likes

Total Posts

320 posts

Correct Reply

87 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Establish
MVP
Anudeep_Garnepudi
MVP

Likes

275 likes

Total Posts

320 posts

Correct Reply

87 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
Anudeep_Garnepudi
MVP

16-11-2020

Hi @Kailash07 

Check out the below article, might help. Came across this as @kautuk_sahni liked it in LinkedIn 🙂

https://www.initialyze.com/blog/2020/11/how-to-use-dynamic-imports-with-adobe-aem/

 

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct Reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct Reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

10-11-2020

@kautuk_sahni  Please move the query to core.