Comments Marc started the conversationJuly 10, 2020 at 6:15pmI’m interested in the widget creator.A question that I have relates to if I build two custom widgets that both have the same CSS or JS includes.So for example let’s say both custom widgets are using bootstrap css/js from a CDN and the widgets end up being placed on the same page. Does it load the same includes twice on the page or does it check and only load once if it sees the same scripts or styles are already enqued.And if it does only load one is there any specific tips to look out for in this respect. Marc repliedJuly 10, 2020 at 6:17pmI forgot to mention the question is related to Unlimited Elements 1,194Amit repliedJuly 11, 2020 at 5:16pmit should consolidate duplicate files loaded. in case it does not please open a ticket and show the problem. Marc repliedJuly 25, 2020 at 7:17pmThanks for the answer you can close the ticket Sign in to reply ...
I’m interested in the widget creator.
A question that I have relates to if I build two custom widgets that both have the same CSS or JS includes.
So for example let’s say both custom widgets are using bootstrap css/js from a CDN and the widgets end up being placed on the same page.
Does it load the same includes twice on the page or does it check and only load once if it sees the same scripts or styles are already enqued.
And if it does only load one is there any specific tips to look out for in this respect.
I forgot to mention the question is related to Unlimited Elements
it should consolidate duplicate files loaded. in case it does not please open a ticket and show the problem.
Thanks for the answer you can close the ticket