Pagespeed issue regarding Javascript Execution Time

Pagespeed issue regarding Javascript Execution Time

eyeQt
Shopify Partner
2 0 0

I have some issues in my pages after updating to Dawn v11.

Several files ( I think that have to do with the translations of Greek seem to have impact on Javascript execution time. Can you help with suggestions on how I could reduce Javascript execution time on my product pages like
https://www.shopgreen.gr/products/estia-coffee-mug-save-the-aegean-potiri-thermos-me-kalamaki-350ml?...

Replies 2 (2)
eyeQt
Shopify Partner
2 0 0

I would prefer to have the information publicly so that other community members would get value from your suggestions.

oscprofessional
Shopify Partner
16266 2431 3160

Hello @eyeQt ,

Optimizing JavaScript execution time on your website can have a significant impact on page speed and overall user experience. Since you mentioned that issues related to translations of Greek seem to be impacting JavaScript execution time after updating to Dawn v11, here are some steps and suggestions to help you reduce JavaScript execution time:

  • Consider using code splitting techniques to load JavaScript files only when they are needed. This can help reduce the initial load time of your pages.
  • Minify your JavaScript files to reduce their size. Minification removes unnecessary white spaces, comments, and renames variables to shorter names.
  • Load non-essential JavaScript files asynchronously to prevent them from blocking the rendering of critical page content. Use the `async` or `defer` attribute in your script tags when appropriate.
  • Implement lazy loading for JavaScript that is not needed immediately when the page loads. This can be especially helpful for JavaScript related to translations, as it can be loaded when the user interacts with language-specific elements.
  • Review and optimize any third-party scripts or libraries you use. Sometimes, third-party scripts can be a significant source of JavaScript execution time delays.

 

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing | Oscp Upsell & Cross sell App : Free | Oscp Sales & Volume Discount App : Free | Custom Pricing Wholesale App : Free | OSCP Shipping Discounts App : Free