How to optimize wordpress site loading time

Here is some instructions and code you can use for site speed optimizing which you can test here https://developers.google.com/speed/pagespeed/insights/?hl=en

  • Install plugin Autoptimize and set next options:
  • Install plugin WP Super Cache
  • Install plugin Compress JPEG & PNG images
    • Set your options here '/wp-admin/options-general.php?page=tinify'
  • Install plugin Disable Embeds
  • Install plugin Disable Emojis (GDPR friendly)
  • Add next code in your current wordpress theme file functions.php:
  • Also it is possible to optimize jquery.js which is excluded in Autoptimize, but this way not always work, so check your site functionality after next:
    • in your site current wp theme file functions.php add next code:
    • in your site current wp theme file functions.php add next code before <?php wp_head(); ?>:
  • be care with jquery.js optimization

 

Leave a Reply