<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can we async or defer referencing Client side Libraries in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400133#M6843</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17225315"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As of now this is not supported on any version of AEM as per Adobe. Few months back I too reached out to Adobe with similar query and they asked us to do some custom implementation on our own as they do not have any such implementation available OOTB.&lt;BR /&gt;Please refer &lt;A href="https://github.com/nateyolles/aem-clientlib-async" target="_blank"&gt;https://github.com/nateyolles/aem-clientlib-async&lt;/A&gt;&amp;nbsp;for reference.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Asutosh&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 15:22:43 GMT</pubDate>
    <dc:creator>Asutosh_Jena_</dc:creator>
    <dc:date>2021-03-15T15:22:43Z</dc:date>
    <item>
      <title>Can we async or defer referencing Client side Libraries</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400131#M6842</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I'm trying to load a client library using a helper template provided by AEM.&lt;/P&gt;&lt;P&gt;&amp;lt;sly data-sly-use.x="/libs/granite/sightly/templates/clientlib.html"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;sly data-sly-call=${clientlib.js @@categories='x'}/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/sly&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do we need to still defer this if so how we can do it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 14:46:29 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400131#M6842</guid>
      <dc:creator>JakeCham</dc:creator>
      <dc:date>2021-03-15T14:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can we async or defer referencing Client side Libraries</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400133#M6843</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17225315"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As of now this is not supported on any version of AEM as per Adobe. Few months back I too reached out to Adobe with similar query and they asked us to do some custom implementation on our own as they do not have any such implementation available OOTB.&lt;BR /&gt;Please refer &lt;A href="https://github.com/nateyolles/aem-clientlib-async" target="_blank"&gt;https://github.com/nateyolles/aem-clientlib-async&lt;/A&gt;&amp;nbsp;for reference.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Asutosh&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 15:22:43 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400133#M6843</guid>
      <dc:creator>Asutosh_Jena_</dc:creator>
      <dc:date>2021-03-15T15:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can we async or defer referencing Client side Libraries</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400134#M6844</link>
      <description>&lt;P&gt;&lt;LI-USER uid="17225315"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to add any attribute in the clientlib load syntax, it needs to be customized.&lt;/P&gt;&lt;P&gt;Please refer to the below link to add 'defer' or 'async' in clientlib.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/nateyolles/aem-clientlib-async" target="_blank" rel="noopener"&gt;https://github.com/nateyolles/aem-clientlib-async&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nateyolles.com/blog/2016/06/custom-aem-html5-async-clientlibs" target="_blank" rel="noopener"&gt;http://www.nateyolles.com/blog/2016/06/custom-aem-html5-async-clientlibs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 15:28:23 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400134#M6844</guid>
      <dc:creator>Rohit_Utreja</dc:creator>
      <dc:date>2021-03-15T15:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can we async or defer referencing Client side Libraries</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400135#M6845</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's correct, you have to do custom implementation. I have done similar via sightly and biding the config properties from clientlibraries node to process accordingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/nateyolles/aem-clientlib-async" target="_blank"&gt;https://github.com/nateyolles/aem-clientlib-async&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;share if you need more details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THanks!!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 15:32:49 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400135#M6845</guid>
      <dc:creator>Pawan_Gupta_</dc:creator>
      <dc:date>2021-03-15T15:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can we async or defer referencing Client side Libraries</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400157#M6846</link>
      <description>&lt;P&gt;&lt;LI-USER uid="17225315"&gt;&lt;/LI-USER&gt;&amp;nbsp;there are two scenarios.&lt;/P&gt;&lt;P&gt;Scenario 1, where the client library has no dependencies&lt;/P&gt;&lt;P&gt;With scenario one, simple implementation with no dependencies, you can simply call the absolute path to the client library, for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;&amp;lt;script defer src="/etc.clientlibs/my-site/clientlibs/clientlib-site.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Scenario 2, the client library has dependencies&lt;/P&gt;&lt;P&gt;then like what the others say, nateyolle's solution looks like an option.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 18:22:36 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400157#M6846</guid>
      <dc:creator>BrianKasingli</dc:creator>
      <dc:date>2021-03-15T18:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can we async or defer referencing Client side Libraries</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400234#M6847</link>
      <description>&lt;LI-USER uid="7532759" login="asutosh_j3"&gt;&lt;/LI-USER&gt;, thank you for sharing the answer. Keep on answering the questions in the AEM community. AEM community needs SMEs like you.</description>
      <pubDate>Tue, 16 Mar 2021 13:00:23 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/400234#M6847</guid>
      <dc:creator>kautuk_sahni</dc:creator>
      <dc:date>2021-03-16T13:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can we async or defer referencing Client side Libraries</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/454707#M130691</link>
      <description>&lt;P&gt;Hi &lt;A class="" href="https://experienceleaguecommunities.adobe.com/t5/user/viewprofilepage/user-id/7532759" target="_self"&gt;&lt;SPAN class=""&gt;Asutosh_Jena_&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the response. Tried the above solution where dependencies and embedded categories are not building as clientlibs .Only specified categories are coming when we used newly created template ''&lt;SPAN&gt;/apps/clientlib -async/sightly/templates/clientlib.html''. Any input highly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 09:19:18 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/can-we-async-or-defer-referencing-client-side-libraries/m-p/454707#M130691</guid>
      <dc:creator>JakeCham</dc:creator>
      <dc:date>2022-06-03T09:19:18Z</dc:date>
    </item>
  </channel>
</rss>

