Comment to 'What are the some good tricks to speedup your homepage?'
  • Some more tips to increase site load speed and speed score in google analytics

    1) disable 3rd-party copy&paste codes or at least use copy&paste code that can be inserted at the end of the page (before closing tag) instead of inserting it into tag

    2) don't install Fontawesome Pro module, it increases page load time by adding bigger font files, default free Fontawesome fonts aren't such big like Pro version

    3) use the latest PHP version, PHP 7.0 twice faster than PHP 5.6, PHP 7.2 faster than PHP 7.0 and 7.1, PHP 7.3 faster than 7.2 and 7.1, PHP 7.4 significantly faster than PHP 7.3, and of cause use PHP OpCache 

    4) enable Caches in UNA

    5) make number of items per page for Timeline as small as possible

    6) set cache control for 1 year instead of 30 days for files (mostly images) uploaded to UNA

    UPDATE `sys_objects_storage` SET `cache_control` = 31536000 WHERE `cache_control` = 2592000

    Then clear UNA DB cache

    • Thought so. Thank you Cem 

      • Do you have any plans to upgrade the cloud server to PHP 7.4 from PHP:7.2.24 ?

        Yes, we preparing to run new cloud servers on Ubuntu 20.04 with PHP 7.4 

        • Hi ... by clicking     there are errors comming :-(

          Warning:  array_merge(): Expected parameter 2 to be an array, bool given in /home/unaio/public_html/modules/boonex/timeline/classes/BxTimelineTemplate.php on line 2566
          Notice: unserialize(): Error at offset 195 of 289 bytes in /home/unaio/public_html/modules/boonex/timeline/classes/BxTimelineTemplate.php on line 561
          Notice: unserialize(): Error at offset 195 of 289 bytes in /home/unaio/public_html/modules/boonex/timeline/classes/BxTimelineModule.php on line 4040
          Notice: unserialize(): Error at offset 195 of 289 bytes in /home/unaio/public_html/modules/boonex/timeline/classes/BxTimelineTemplate.php on line 2566
          Warning: array_merge(): Expected parameter 2 to be an array, bool given in /home/unaio/public_html/modules/boonex/timeline/classes/BxTimelineTemplate.php on line 2566