No announcement yet.

Google PageSpeed Insights issues

  • Filter
  • Time
  • Show
Clear All
new posts

    Google PageSpeed Insights issues


    I am trying to increase our score on Google PageSpeed but have come up against two suggestions which I am reluctant to proceed with without more information (also I have no experience of javascript) - hopefully someone has a suggestion!

    1 - Minify JavaScript
    This refers to several of the SellerDeck javascript files. I have found a few websites which can 'minify' the code but I am unsure as to whether they are trustworthy - does anyone have any experience of using a particular site?

    2 - Eliminate render-blocking JavaScript and CSS in above the fold content
    Again this refers to the SellerDeck javascript files
    "Your page has 6 blocking script resources and 2 blocking CSS resources. This causes a delay in rendering your page."
    "None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML."
    Your page has 6 blocking script resources and 2 blocking CSS resources. This causes a delay in rendering your page.
    ◾Remove render-blocking JavaScript:

    ◾Optimize CSS Delivery of the following:

    I have run the PageSpeed tool on several other SellerDeck sites and this issue comes up on all of them (except one).

    The files are all in the <head> section but I don't want to move them out of it without knowing the consequences.

    Sorry this is a bit lengthy but any advise on how to proceed would be very gratefully received!

    Thank you

    You are loading some JavaScript code twice. Try removing the 3 consecutive lines:
    <SCRIPT language="JavaScript" src="actiniccore.js" type="text/javascript"></SCRIPT>
    <SCRIPT language="JavaScript" src="actinicextras.js" type="text/javascript"></SCRIPT>
    <script type="text/javascript" src="Act_sections.js"></script>
    The first 2 lines get loaded later and the 3rd line isn't being used at all (it comes from a redundant JavaScript based menu).
    Norman -
    Edinburgh, U K / Bitez, Turkey


      Hi, Helen.

      I ran a quick speed-test on a couple of pages (Home + a catalogue page) and the result was not to bad apart from the mobile version of the home page (which scored 60). Personally, I would not be too concerned at any score around/above the 70 mark. It is more important to optimise for mobile as this is where the real delays are; broadband has largely removed delays for the majority of desktop sites.

      As to your questions, if you follow the links from the Page Speed tests the recommended sites are okay. Alternately, if you use Firefox web browser you can install 'Firebug' which will provide similar Page Speed tests (Desktop only) and allow you to save minified (compacted) to your PC.

      The note of caution I would add in using Javascript minifiers is that they can sometimes cause syntax errors in your compacted code. Run them through a validator before using a minified version and always keep an uncompressed backup.

      My last comment is perhaps the most important. You will be able to opitimise CSS delivery within the Sellerdeck environment - effectively, this means placing code 'in-line' on each web page. However, I would be interested to hear from Sellerdeck whether they advocate minified .JS (Javascript) files on live sites generally. I can't see any reason why live sites don't use these as standard but what is the official view ?
      Last edited by Onestop; 05-Dec-2013, 08:58 AM. Reason: Removed quoted post as no need to repeat it
      Sellerdeck Website Design & Customisation


        You can also look at using CSS sprites and use positioning so you are only calling a single image to have multiple functions.

        It is also worth looking at the server cache details in the .htaccess file so people who do not browse incognito can load from cache rather than from scratch.

        SellerDeck Designs and Responsive Themes


          Thank you very much for the suggestions.

          I have downloaded Firebug so I will have to fiddle and see how I get on (saving everything in triplicate beforehand of course...)



            There are online tools for compressing css which basically create code shortcuts. Create a copy and rename your original actinic.css in case the new compressed file makes a mess of things as I found fonts do not size correctly in a few cases.

            Have a go with
            Quality engraved Sports Awards, Golf Trophies and Football Trophies in 3 -7 days.


              Just used this to reduce javascript file sizes resulting in notable Google Performance Improvement

              It all seems to be working so far.
              Phil Howell
              Intuition Un Ltd
     A range of delicious Turmeric Latte's #veryaddictive

              Awarding winning publishers of Natal Hypnotherapy™, the UK's leading provider of hypnosis for conception, pregnancy and child birth having helped over 100,000 women through antenatal courses and self hypnosis CDs
     Hypnobirthing in English
     Hypnobirthing in french
     Online antenatal training