LCP score optimization

Hi guys. I have some problems with LCP on my gadget app. My LCP score is 3 - 5.5. The app is built with Remix trying to get the benefits of SSR. I tried to improve the LCP score by restructuring some code, created new small components, added lazy loading but looks like nothing helps. Here's my app https://apps.shopify.com/aqurate-ai Could someone have a look at it and share some quick improvements on LCP side?
3 Replies
ljspoor94
ljspoor943mo ago
Have you taken a look at these docs? https://docs.gadget.dev/guides/frontend/optimize-lcp
Chocci_Milk
Chocci_Milk3mo ago
Make sure that you test your LCP in production. The development environment is not set up the same way and will load many more dependencies so you won't get an accurate measurement. If you'd like me to recommend some changes in your code itself, you'll need to share the URL of your Gadget app. I can't access your Shopify app
mocuta_sorin
mocuta_sorinOP3mo ago
@ljspoor94 I checked that. @Chocci_Milk Have a version optimized, currently working on. After merging to main will check to see if any progress has made and will come back here with an update. Thanks guys, really appreciate quick replies

Did you find this page helpful?