Skip to content

Investigate moving some extension scripts to the end of <body>Β #327

@schlessera

Description

@schlessera

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: ampproject/amp-wp#6182 (comment)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions