You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2018/05/29 13:34:17 UTC

[GitHub] MRVerv opened a new issue #1773: inline_javascript should not inline scripts with a defer-attribute

MRVerv opened a new issue #1773: inline_javascript should not inline scripts with a defer-attribute
URL: https://github.com/apache/incubator-pagespeed-mod/issues/1773
 
 
   If a webpage has a list of javascript script-tags with the 'defer' attribute, and the mod_pagespeed 'inline_javascript' filter inlines some but not all of the scripts, then the execution order of the scripts will change, which may lead to error messages such as 'jQuery is not defined'.
   The inline_javascript filter should not inline scripts with the 'defer' attribute (or at the very least there should be an option for the filter to control this behaviour)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services