Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

amp pages lcp

You can speed up your LCP in amp pages by removing the <style amp-boilerplate> tags.

The setting in that tag prevents the page content from becoming visible before amp js files are loaded.

If your page layout is dependent on an amp plugin, for example, amp ads, it might cause higher CLS.

In the case of amp ads, the solution is to wrap them with a tag that has fixed proportions.
 
PREVIOUS NEXT
Tagged: #amp #pages #lcp
ADD COMMENT
Topic
Name
3+6 =