Jump to content
flourishdesignstudio

SEO and JS Loading

Recommended Posts

flourishdesignstudio

Hello,

We are working on a site and the customers are complaining that the site loads too slowly. They contacted their host who mentioned that the Java Script is all loading at the beginning. Is it possible to delay the load of the less important Java Script until after the initial load to speed up the site? The goal is to load the page faster by minimizing the initial javascript calls.

Are there any preferred plugins that you would recommend or does this end up causing excessive problems with plugins, etc.?

Thanks for the help!

Share this post


Link to post
Share on other sites
Ray

Try using a caching plugin (WP Fastest Cache) and also make sure your media is optimized.

Share this post


Link to post
Share on other sites
flourishdesignstudio

Hi Ray,

We already deploy a CDN so are you suggesting this plugin to use a caching agent or to just use it to control how the JS is loaded?

Thanks!

Share this post


Link to post
Share on other sites
Ray

What's the site URL?

Share this post


Link to post
Share on other sites
Ray

so tested your site and loading time from my end was 1.34 seconds which is not bad.

The images are taking a bit to load: https://cl.ly/lv6M  you can minify those here: https://tinypng.com/

Also, try removing query strings from static resources with this plugin: https://wordpress.org/plugins/remove-query-strings-from-static-resources/

Share this post


Link to post
Share on other sites
flourishdesignstudio

Thanks Ray, I will see if the plugin you suggested helps.

Have you ever used a plugin to control the JS loading before? That was the hosts other main suggestion and they suggested either of these: Autoptimize or maybe something like MiniQue. To be honest it just makes me nervous to start editing how things load but if minifying and reordering is a good idea I will try one of these plugins. Any thoughts?

Share this post


Link to post
Share on other sites
Ray

It would be wise to test these one by one and compare their loading times

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • IDdigital
      By IDdigital+
      Hi,
      A site of ours irregularly does not finish loading. The page in question is https://rw360.org/grievance-process/
      In Safari, I'll occasionally get the following error:
      [Error] TypeError: undefined is not an object (evaluating 'a.plModel.init')
          (anonymous function) (site.js:5:91)
          i (jquery.js:2:27455)
          add (jquery.js:2:27750)
          ready (jquery.js:2:29819)
          (anonymous function) (site.js:5)
          Global Code (site.js:5:3421)
      This seems to be a bug in PageLines as far as I can tell. Any suggestions or a fix coming?
      Thanks,
    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I am using a plugin called Speed Booster Pack to speed up the load time of michaelkummer.com. One of the plugin settings, Minimize HTML and JavaScript causes an error that I only get with Pagelines. With other themes, such as WordPress' Twenty Seventeen, I do not get that error.
      I have reproduced the problem on my staging site and if you look at the JavaScript console, you will see the following error:
      SyntaxError: Unexpected end of script
      Any clue what PageLines may be doing differently to be contributing to this issue? I contacted the plugin developer and they, of course, pointed me to the theme developer
      Thanks
      Michael
    • Michael Kummer
      By Michael Kummer+
      Hi guys,
      It seems like the H1 tag in the Pagelines 5 framework is missing the entry-title tag. Google Search Console complains about that and it seems like it needs to be fixed in the theme. Based on another thread, this looks like a known issue but I haven't seen any updates from the framework team.
      Any indication of what the status on this issue is?
      The site in question that I have that issue with is michaelkummer.com.
      Thanks
      Michael
    • Objectif-Mariage
      By Objectif-Mariage+
      Hello. I just past my PL5 website to BING analyser, and I was very surprise when it told me I had five <H1> ! ? What ? how it's possible ?? 
      So I have checked the code, and obviously, some PL plugin (like Elements), create some <h1> balises for their Header.... Great ! 
      So I have try to simply not use this Element's Header, leting them blanck. But <H1> balise is still there ! Empty but sill there ! ( <h1 class="elements-header" data-bind="plshortcode: header"></h1>).
      I have took Element as exemple, but it's the same for other PL plugins. Even if you let a part blank, PL plugin will create an empty balise ! :-(
      I'm not developper, and don't know PHP. But I guess it's possible to create a fonction, witch would say . 
      "if one balise is empty => then don't write it."
      What guy's do you think about that ?
       
       
      There is a link to my website : http://www.wedding-photography-minneapolis.com/
    • Queue-it
      By Queue-it+
      Hi,
      We're using Yoast SEO plugin and it can not crawl the content that is in a Pagelines text container, only the Paglines framework content. 
      I can see that it is a problem with SEO plugins and external site builders to read the content. So is there a Pagelines SEO plugin that would solve that? 
      I know that it does not effect stats on google, but it is not possible to see the full picture of SEO status. 

×