[
https://issues.apache.org/jira/browse/SLING-9981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17245650#comment-17245650
]
Prakashkumar SB commented on SLING-9981:
----------------------------------------
[~rombert] [~klcodanr] I have fixed this issue but i don't know the process to
commit the change.. i tried to commit directly to master but got an
unauthorised error.
Just unzip the file and you should be able to see the changes. everything is
hooked into git or let me know process to push the changes to github.
> Remove jQuery dependency
> ------------------------
>
> Key: SLING-9981
> URL: https://issues.apache.org/jira/browse/SLING-9981
> Project: Sling
> Issue Type: Improvement
> Affects Versions: Dynamic Include 3.2.0
> Reporter: Prakashkumar SB
> Priority: Major
> Attachments: sling-org-apache-sling-dynamic-include.zip
>
>
> When we use Javascript include (JSI) in Sling dynamic include with AEM, it is
> dependent on jQuery.
> Most of the websites will load the jQuery at the bottom of the page to enable
> first paint to appear through rendering the DOM elements. Most of the cases,
> JSI will be enabled to load some HTML dynamically in the top/middle of the
> page. To make JSI work, jQuery have to be injected in the head instead
> footer/bottom of the page.
> Enabling jQuery in the head of the page will block the DOM to render,
> possible will have an impact on the SEO. To avoid this, update the jQuery
> scripts to vanilla javascript.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)