New V7 JS ( Loading techniques ) in development

3 replies · opened May 17, 2023

Jjonw1963May 17, 2023

from your own ticket "So, we are working on a more Traditional Loading Technique with easier Customization Possibilities and disabling the Ajax Loading feature due to performance issues"

Hi mobile performance is important to us, so we will figure out your 'difficult' loading techniques if they are quickest/lighthouse performant ie load on demand.

I really liked the idea of Ajax loading of JS - what were the performance issues discovered? I hope the 'new' JS techniques will also allow dynamic loading of JS?

Thanks in advance

SSemicolon WebSTAFFMay 17, 2023

Hello,

Thanks for your interest! :)

So, we have been working on more traditional loading techniques for JS and we have observed that the JS Elements on the Page execute faster and collectively without any delays. With Ajax JS Loading, there are 3-4 Steps involved, like:

  1. Finding the Element.

  2. Checking whether the Plugin is available on the Page or not, if not, then Load the Plugin.

  3. If available then execute the JS Function, if not then wait for it to be available.

So, this causes some delays sometimes depending on User Connection and we noticed this affected our Live Previews as well in some countries. This is something that could cause issues for other users.

So we are bringing more traditional ways of loading the Functions more faster and instantly after finding the Element on the Page. But we will also be including another functions.js File, which will support AJAX Loading for the Plugins. So, you can definitely choose to load the Functions in LazyLoading way if you are okay with slight execution delays. We will support both, but by default the Traditional Loading will be added to the HTML Files, and then you can change the settings manually based on what you prefer.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Jjonw1963May 17, 2023

Okay. Thanks for the detailed answer.

SSemicolon WebSTAFFMay 17, 2023

Very happy to Help :)

Do let us know if we can help you with anything else or if you have any suggestion.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard