You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Question: I have just tested the speed my website loads pages and I am worried about the score. How can I increase the page load speed? 


Perhaps you have just tested your website load speed on a tool like PageSpeed or WebPageTest. And the score came back so low!


We all should want faster page load speeds. Slow load speeds influence visitor user experience - and ultimately, for business, it may lower website conversions, especially on mobile devices. Slower than expected page load speeds can also have other effects you might not have considered, like your Google rankings. 


There are several variables that can affect the page load speeds of your Customer Self Service eCommerce Platform website. Some of the most important are:

    • Heavy CSS and JavaScript use
    • Content (e.g., many banners, media not optimised for online)
    • Customisation complexity
    • Background tasks

We will go through them one by one and suggests some actions. Some of these are in your control. Others may require technical analysis and expertise.  

css and Javascript use

If you checked your web page, at the top of the list of culprits may have been something like 'Eliminate Render-blocking Resources'. 


For your website, render-blocking resources will typically refer to uses of css but especially JavaScript. Such coding is part and parcel of how web page content is created. Web page styling and functionality would not be the same without them. Especially dynamic content. However, bear in mind that your visitors' browsers have to process each css and JavaScript request before a page will load fully. When a browser normally finds css or JavaScript <script> tags, it will stop loading HTML until the scripts have been loaded and executed (or just executed). This slows down the overall page render time.


So one of the most beneficial things you can do is to ensure your styles and (especially) scripts follow page load efficiency practices and utilise the tools your Customer Self Service eCommerce Platform has to help achieve this.   

What you can do:

  • Ensure your custom styles and scripts have been written to best coding practices:
    • Efficient coding with no unnecessary elements
  • Do not use too many widgets and independent scripts on the one page
  • Utilise the Scripts and styles function in the CMS where possible instead of uploading each JavaScript and referencing it in a HTML Snippet widget. Scripts and styles has been designed to maximise efficiency by:
    • bundling related scripts and styles into one widget, so be called as a unit instead of multiple units,
    • loading multiple Scripts and Style widgets to operate independently on a page,
    • allowing you to disable unneeded scripts and styles by easily turning them off (just tick the checkbox next to the widget in the page layout).

What else you can do:

  • Book a time to discuss what consultation with Commerce Vision's Professional Services can do to help.
  • We can also implement our specially created features that help to minimise render-blocking resources on your web pages so that they appear more quickly to users:
    • Our JavaScript Defer feature helps minimise render-blocking by deferring JavaScript files (including inline script blocks) in an orderly way until the HTML has been parsed on a page. Expertise includes ensuring the page does not break. (For versions 4.17+.)
    • Our JavaScript Dependency feature reduces JavaScript execution to only those a particular page needs. The solution determines what JS files are necessary, bundles them and provides a single link to the browser to minimise resource use. (For version 4.25+.) 


Content Creation

Think about the content on your pages, especially high traffic pages. TIP - The home page should be priority since it is usually the first page for visitors. 

What you can do:

  • Ensure images and other rich media are optimised for online use as they load faster and require less bandwidth. 
  • Consider the number of banners loading on the one page, e.g., campaign banners. As these are usually image-based, having too many campaigns on your webpage can slow down page loads. TIP - Check the page load speed before and after adding a campaign. 
  • Minimise hotlinking. This is where web pages on other servers (yours or those from other sites) are linking to your web page's content.

What else you can do

  • Ensure Lazy Loading is enabled. The Lazy Loading feature ensures that the loading of non-critical files are delayed until they are in view (on screen). Here's an example of how it works. Suppose your home page has a slider campaign. Not all slides are currently viewable on your visitors' screen. With lazy loading enabled, media files will not be loaded until the user can see them.  This allows non-critical files to be delayed until needed. 

      • Lazy loading is enabled by default for all websites. If you think lazy loading is not on for your site, please contact Commerce Vision Support.


Summary

There's quite a bit your eCommerce team can do to help increase page load speeds. If you require further assistance than this, book a Professional Services consultation to assess and implement additional measures. 


  • No labels