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