amp-toolbox-php
amp-toolbox-php copied to clipboard
Investigate moving some extension scripts to the end of <body>
Some extension scripts are only needed to power the interactivity for the user and are not necessary during the initial rendering process.
Moving these scripts to the end of the <body>
tag instead of having them in the <head>
would thus likely improve LCP.
We should investigate which extensions can safely be moved, and whether it is always a net win for CWV.
See this comment by @westonruter where he already experimented with this approach with promising results: https://github.com/ampproject/amp-wp/issues/6182#issuecomment-867333175