• Resolved alabasterized

    (@alabasterized)


    Recently checking the site speed, with Ecwid installed, the Google PageSpeed Insights warns about loading unused Javascript. Indeed, I can see three Ecwid files (cloudfront.net), as well as one (minified) PayPal file (paypalobjects.com), probably pulled by some Ecwid command, as I use PayPal as a payment method on the Ecwid store.

    Apparently, all the site pages load these scripts, even though they (supposedly) do not include any Ecwid element.

    Performance, i.e. site speed appears significantly reduced for this reason, especially if I check it for mobile, which apparently assumes a 1.5 Mb/s connection. For desktops (10 MB/s), it is less critical, although this is still the first warning that is displayed.

    So, my question is, how do we solve this?

    Thanks.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support ecwid_team

    (@ecwid_team)

    Hi there!
    This is Ecwid by Lightspeed. Thanks for your message!

    As I understand you are concerned about the loading time of the product pages.
    You noticed some scripts that are non-required to load the store. I should say that these scripts come from the version of the storefront Ecwid is using, currently. I am afraid there is no way to remove those scripts for one store only. It is possible to do this only for all the Ecwid stores globally. Our developers are already aware of this issue and they are working on the updating storefront and improving its performance.

    We are planning to release a new version of the storefront in our future updates. Yet, there is no ETA at the moment, sorry. Please send us your store ID/website URL at [email protected] and we will add your email address to the waiting list. Once there is any news, we will get back to you to give an update.

    Thank you!

    Thread Starter alabasterized

    (@alabasterized)

    Thanks, it will be highly welcome because currently, according to Google PageSpeed Insight, Ecwid is a major contributor to slow loading time.

    Waiting forward to it.

    Thread Starter alabasterized

    (@alabasterized)

    I see that the latest plugin update was meant to improve these things and big thanks for that.

    Also, I understood that it may take some time until the changes on your server’s side take the effect on all the websites using this service, but I still don’t see any change. This is today’s screenshot from the Google Page Speed test.

    Screenshot.

    I am using a decent hosting provider, WP caching plugin, and CDN, but I just can not solve this. And such a performance notably decreases the site ranking at Google.

    Otherwise, this is a great plugin.

    Thread Starter alabasterized

    (@alabasterized)

    Also, even though not that critical, you can consider two additional warnings by Google PageSpeed Insight.

    Screenshot 2

    Plugin Support ecwid_team

    (@ecwid_team)

    Hi!

    The update is being rolled out gradually, so you may not see the result right now. If you don’t want to wait any longer, you can enable it on your site with these steps:

    1. Open the hidden plugin settings page /wp-admin/admin.php?page=ec-params.
    2. Switch the ecwid_static_home_page_enabled parameter to Y.
    3. Switch the ecwid_defer_store_init_enabled parameter to Y.
    4. Click Save.
    5. Clear cache in your WP caching plugin.

    Once done, the update will be enabled for your site.

    Also, we really appreciate your feedback! Thank you!

    Thread Starter alabasterized

    (@alabasterized)

    Thanks, this worked great!

    I have the same problem. Even changing those parameters to Y, clearing the cache and blocking all ecwid scripts on the Homepage, there is some script that tries to connect to paypal.com for several seconds. Anything else we can do?

    Plugin Support ecwid_team

    (@ecwid_team)

    Hi!
    This is Ecwid by Lightspeed. Thanks for your message!

    Generally, our plugin doesn’t contain any scripts that affect Paypal. Can you specify what script it loading exactly? And also, can you please send us a link to your website, please? You can send it in a reply to this message or send it to [email protected] email.

    Thank you!

    Plugin Support ecwid_team

    (@ecwid_team)

    Hi! Thanks for the details. Do I understand correctly that these scripts are being loaded on the home page? If so, our developers are already working on its fix, and it should be released really soon. I’ll let you know in this thread so that you could check it if helped!

    Hello ecwid support

    This problem still exists on my site, even with the above recommended changes being made.

    Re your last message – “developers are already working on its fix, and it should be released really soon.”

    Is it poss to give some indication of what “really soon” really means?

    thanks and regards

    Plugin Support ecwid_team

    (@ecwid_team)

    Hello Terry! Thanks for reporting it.

    If I get it right, you have the problem on https://creativenumerology.com Could you specify it in more details so I can add them to the internal ticket? What scripts do you see on your end?

    My issue is identical to that of alabasterized above, but even though I have applied the recommended changes on the hidden config page I still see the offending ecwid scripts appearing in Pagespeed Insights. Hence my previous question.

    Unfortunately, in this this thread I am not allowed to upload images, but please feel free to run my home page through Pagespeed Insights and you will see the ecwid scripts along with other lesser issues with ecwid.

    Thanks and regards

    I have sent access details to [email protected]
    Thank you

    Plugin Support ecwid_team

    (@ecwid_team)

    Thank you, Terry!

    We’ve got the details and we’ll contact you soon at your personal email address. Stay tuned!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Loading scripts even if they are not used on the page’ is closed to new replies.