New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pixi: Poor page experience (Slow LCP) #61
Comments
Leaving comments as I take a look: Image compression/selection can be improvedhttps://www.gaborshoes.co.uk/images/modules/promo_units/xsmall/1605280620-22344600.jpg Additional Hero Image candidatesHero Images can be denoted with |
Usage of many
|
Thanks @kristoferbaxter, that's great (and very speedy!) feedback, we'll get to work on the data-hero and the WebP optimisation points. I would just like to query the last point you made as I might not be understanding you correctly but I'm not sure serving just one Certainly in this instance we could combine some of the |
@kristoferbaxter Just to let you know, we've created an updated version of that page at https://www.gaborshoes.co.uk/homepage-ssr-runtime-updated.html (this one has a new main image due to changes client has made on the live site) with the following improvements:
However, we're not seeing any improvement in the Page Experience times (LCP is still 3.6s) and we feel like we've negatively impacted the page load on desktop devices because we can no longer preload images based on media queries as we were doing previously. I suppose this relates to the Thanks again for looking at this! |
If there is the intention of using different images for the sake of art direction, then the usage of several However, it could be an option to ensure the different formats at each resolution are actually different output to avoid creating extra elements needlessly. You're also right on that once |
This makes sense, but is a sad limitation from the Web Platform (across all supported user-agents). We've been exploring the usage of Client Hints and other proposals to see if we can come up with a viable alternative. However, the benefit of The only exception I've seen would be if the document was a streaming response, where the |
Thanks again @kristoferbaxter, that explanation has really helped us to understand the AMP Optimizer a bit better, so we'll test a few other things and see how we get on, and we'll definitely see if we can find a nice way to consolidate those One last question fo you at the minute, do you have details of the rough location of the AMP Page Experience Guide test servers? Couldn't see any docs about it so we were just wondering if it was North America-based, or if there are more local locations globally. We're UK-based and the site doesn't leverage a CDN currently so we're just wondering if location is a big factor here too. Testing via WebPageTest on a UK-based server we see an LCP of 2.9s which is a lot closer to meeting the Core Web Vitals threshold: https://www.webpagetest.org/lighthouse.php?test=201116_DiB1_131a036c50f0e1068ea132a81c4943ec&run=1 |
@CraigBusfield the lab data is collected via PageSpeed Insights tool - it is the same lab data you would see there. Based on some of the previous pages we've tested I do believe the servers are NA based and that could be a factor in your scoring. That being said, using a CDN is a great way to speed up your site :) |
Thanks for the info @kevinkimball, that's really helpful! I'll close this issue for now but you're not getting rid of me so easy - I've added another issue for the listings page of the site at #62 I'm so sorry! 😢 But also really grateful for yours and @kristoferbaxter help on these points! |
Hi @kristoferbaxter and @kevinkimball - sorry for re-opening this issue, but spotted something related to this that I'd like your opinions on please. I ran this Lighthouse test, where LCP is coming back as 3.2s, so I decided to have a look at the Performance timeline to get a better idea of what was going on and I noticed that the main "20% Off" image (which is highlighted in the LH test as the LCP element) actually gets loaded in and is fully visible on screen at around 1.3s: Just wondering if you guys have any idea why LCP isn't credited until 3.2s? It seems to me as though that content is loaded and fully available to the user much before that time. Or would this be more of a question for the Lighthouse team? |
Hi @kristoferbaxter, just picking back up on this. Thanks for the advice on the CLS issue, turned out it was a bug that we'd introduced when using the AMP Toolbox. I've fixed that now and we've actually applied SSR to the live homepage of the site: https://www.gaborshoes.co.uk/ It seems to have given us a performance boost in some stats but when testing https://www.gaborshoes.co.uk/ the AMP Page Experience Guide is still telling us that we have slow LCP (4.0s) and TBT (317ms). Do you have any advice on anything we could do to resolve this please? There is a recommendation to "Ensure initial Server-response time for the page is short" but that's being measured at 178.07ms which seems pretty good to me (I believe Page Speed Insights only fails the audit on anything above 600ms). Thanks, |
Actually, ignore the LCP issue - just realised that'll be related to GoogleChrome/lighthouse#11706, assuming Page Speed Insights/AMP Page Experience Guide is still testing on an older version of Chrome, so that should resolve itself eventually. So it's just the TBT metric that we could do with some help on if you have any advice please 😄 |
Hi @kristoferbaxter, Thanks for taking a look! On that page there are 3 analytics vendors being used, with 4 initial analytics hits on page load:
Would this be considered excessive analytics usage for an AMP page? Or is it maybe an issue with how we have set these Thanks, |
URL
https://www.gaborshoes.co.uk/homepage-ssr-runtime.html
Details
Notes
Components in use: amp-access, amp-animation, amp-bind, amp-consent, amp-form, amp-geo, amp-iframe, amp-install-serviceworker, amp-lightbox, amp-list, amp-mustache, amp-position-observer, amp-sidebar
We're testing out the use of the PHP AMP Optimizer, so this is just a static test page - we haven't applied the Optimizer to any of the actual 'live' pages on the site just yet, but it would be interesting to know if there's anything further we can do to improve our page experience and therefore Lighthouse score
/cc @ampproject/wg-performance
The text was updated successfully, but these errors were encountered: