You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AEM Version, including Service Packs, Cumulative Fix Packs, etc: 6.5 SP19
ACS AEM Commons Version: 5.5.2
Reproducible on Latest? yes
Expected Behavior
When adding clientlibs in link tags for preload purposes, it's expected that the clientlib url would be rewritten with the hash.
Actual Behavior
While css urls in link tags are rewritten (only when the type attribute is set to "text/css"), the same does not happen with javascript (even with the type attribute set to "text/javascript"
Steps to Reproduce
Setup a vanilla 6.5 SP19 instance.
Ensure your application is setup to use versioned clientlibs.
Edit the head script of your page and manually add a JS clientlib in a link attribute.
eg. <link rel="preload" href="/etc.clientlibs/mysite/clientlibs/clientlib-mysite.min.js" as="script" type="text/javascript"/>
View the page source as rendered.
Note that the MD5 sum is not added as a selector to the href attribute.
Links
The text was updated successfully, but these errors were encountered:
Required Information
Expected Behavior
When adding clientlibs in link tags for preload purposes, it's expected that the clientlib url would be rewritten with the hash.
Actual Behavior
While css urls in link tags are rewritten (only when the type attribute is set to "text/css"), the same does not happen with javascript (even with the type attribute set to "text/javascript"
Steps to Reproduce
Setup a vanilla 6.5 SP19 instance.
Ensure your application is setup to use versioned clientlibs.
Edit the head script of your page and manually add a JS clientlib in a link attribute.
eg.
<link rel="preload" href="/etc.clientlibs/mysite/clientlibs/clientlib-mysite.min.js" as="script" type="text/javascript"/>
View the page source as rendered.
Note that the MD5 sum is not added as a selector to the href attribute.
Links
The text was updated successfully, but these errors were encountered: