Loading speed of site

Need some ideas on how to increase the loading speed of the home page. I know that there are several factors, but any suggestion of the weigh of each, which one will make more impact if improved?

1-# of CPU and size RAM

2-DB: size / ? speed / ?type

3-Number of blocks in home page (? active vs. Inactive makes a difference)

4-Use of third party modules in home page (? any limit)

5-Other factors: ?

Tnx



In my home page I have 75 blocks (mostly inactive), do you think if I DELETE the inactive ones it will make home page load quicker, or that does not matter as long as they are "inactive"?

  • 366
  • More
Replies (5)
      1. Until the site is full of active users you CPU and RAM shouldn't be a significant factor.
      2. DB optimisations may be important, but also at higher scale/activity levels. Sometimes we see issues like inadequate memory allocation, and sometimes the may be a case for using a different compatible DB.
      3. Number of Active blocks makes a big difference, naturally, while number of inactive blocks shouldn't matter. It is still good to clean them up, because it's just easier to manipulate the page in the builder.
      4. Third-party modules and 3rd party plugins/libraries may play a huge difference, because we simply don't have enough test data to optimise for that. Often just using some old JS for a minor UI tweak, or some poorly optimised tracking library can add lots of time to your page response, and some may well be blocking.
      5. Try loading your page with a browser console open and watch timeline and network results - there may be some "gems" there that will help you identify the culprits. For example, here on UNA.IO the homepage with feed, menus, messenger and discussions loads in just over 4s+ including all media.

      • You can also run Lighthouse test in Chrome on different pages and see what issues it may point to.

        • Lovely! Thank you so much. This is extremely enlightening and very helpful. Much appreciated! @Andrey Yasko

          • @Andrey Yasko @Expertzkris @Stephen-Mystic Inam  Last question, what in case of a "mobile App" , are similar factors operating or there are other factors to consider, and to what extent? any testing tool as well for mobile Apps?

            Thanks much!

            • You can test some metrics in Lighthouse for "mobile" UI - it's a somewhat different set of considerations, which also focuses on some mobile-specific usability concerns. if you chive good results then your ReactNative-wrapped app would perform fairly well too.

              There are other way to ship a mobile app, including developing a new UI using React/NextJS, Flutter, Ionic, etc.. and using UNA as a headless CMS providing API endpoints - in that case the performance will primarily depend on your frontend code. We do this for some clients and will be sharing more with community this year.

              Login or Join to comment.