Title: Largest Contentful Paint
Last modified: June 10, 2020

---

# Largest Contentful Paint

 *  Resolved [acheetahpurr](https://wordpress.org/support/users/acheetahpurr/)
 * (@acheetahpurr)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/largest-contentful-paint/)
 * I have 4-5 second Largest Contentful Paint, and I don’t know why.
 * Page insight say me I have several unused JS.
 * How to desactivate unused JS ?
 * Kind regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flargest-contentful-paint%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/largest-contentful-paint/#post-12967649)
 * The issue with “unused JavaScript” may be a false report. See [https://github.com/ampproject/amphtml/issues/28638](https://github.com/ampproject/amphtml/issues/28638)
 * In regards to Largest Contentful Paint, I’m unsure. We’ll have to investigate.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/largest-contentful-paint/#post-12967781)
 * I looked at the Performance panel in Chrome DevTools and it identified the Largest
   Contentful Paint is for the images.
 * OK, the issue here are the images. You’re not doing anything wrong, however. 
   The delay is due to the AMP runtime needing to load before the images can be 
   downloaded. One way to improve this would be to add `link[rel=preload]` element
   for those each of those 4 images.
 * So the `head` of the page could have included:
 *     ```
       <link rel="preload" as="image" href="https://***.com/wp-content/uploads/2020/04/test-orientation--741x486.jpg">
       <link rel="preload" as="image" href="https://***.com/wp-content/uploads/2020/04/Agriculture-Low-Tech-1-741x486.jpg">
       <link rel="preload" as="image" href="https://***.com/wp-content/uploads/2020/04/Biblilowtech-741x486.jpg">
       <link rel="preload" as="image" href="https://***.com/wp-content/uploads/2020/04/Transport-Logistique-Low-Tech-741x486.jpg">
       ```
   
 * If you can add these links via the `wp_head` action yourself for that template,
   this will fix the issue.
 * It’s important to note that this will work because these images lack `srcset`.
   Preloading images with `srcset` is not yet supported in non-Chromium browsers,
   as noted on [https://web.dev/preload-responsive-images/](https://web.dev/preload-responsive-images/)
 * We’re going to be addressing this issue in AMP itself so in the future you won’t
   need to do anything. You can follow progress on this here: [https://github.com/ampproject/amphtml/issues/28672](https://github.com/ampproject/amphtml/issues/28672)
    -  This reply was modified 5 years, 10 months ago by [Yui](https://wordpress.org/support/users/fierevere/).
      Reason: remove domain
 *  Thread Starter [acheetahpurr](https://wordpress.org/support/users/acheetahpurr/)
 * (@acheetahpurr)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/largest-contentful-paint/#post-12969255)
 * Thank you for your quick support !
 *  Plugin Author [Alberto Medina](https://wordpress.org/support/users/albertomedina/)
 * (@albertomedina)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/largest-contentful-paint/#post-12972288)
 * Please consider leaving a review of the plugin if you’d like to.
 *  Thread Starter [acheetahpurr](https://wordpress.org/support/users/acheetahpurr/)
 * (@acheetahpurr)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/largest-contentful-paint/#post-13066641)
 * [@westonruter](https://wordpress.org/support/users/westonruter/) Problem is solved
   now thanks to the update, thank you.
 * Just one last request, can you edit your post and delete the url of my website
   please, in the code area after “So the head of the page could have included:”
 * The topic is shown on google when we enter my site url and everyone can see my
   profile. Not very good for the security. Because I use this ID as admin.
 * Thank you for your job
    -  This reply was modified 5 years, 10 months ago by [acheetahpurr](https://wordpress.org/support/users/acheetahpurr/).
    -  This reply was modified 5 years, 10 months ago by [acheetahpurr](https://wordpress.org/support/users/acheetahpurr/).
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/largest-contentful-paint/#post-13066725)
 * Sorry, I cannot edit the post. The WordPress.org forums only allow editing posts
   for maybe a few minutes after posting. I’ll flag this topic to see if the moderators
   can make the requested change.
 *  [mowlemstudios](https://wordpress.org/support/users/mowlemstudios/)
 * (@mowlemstudios)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/largest-contentful-paint/#post-13324385)
 * Hi there, sorry to jump on this thread but I”m also big issues with Largest Contentful
   Paint.
    My site is showing 7.8s via page insights, the largest element appears
   to be Carousel. Try as I might to improve the sites speed I’m finding it tought
   to isolate some of the back end java script run on wordpress, especially some
   within Jetpack, I have also tried deactivating some of the elements there too.
 * [https://mowlemstudios.com/photo-and-film-studios/](https://mowlemstudios.com/photo-and-film-studios/)
 * Any advice on where I might improve would be much appreciated! I understand it’s
   a job for a developer but hard times call for personal measures±!
 * Thx
    -  This reply was modified 5 years, 8 months ago by [mowlemstudios](https://wordpress.org/support/users/mowlemstudios/).
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/largest-contentful-paint/#post-13324525)
 * [@mowlemstudios](https://wordpress.org/support/users/mowlemstudios/) Please open
   a new support topic.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Largest Contentful Paint’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/largest-contentful-paint/#post-13324525)
 * Status: resolved