Wordpress Speed Optimisation

Discussion in 'Webmaster Forum' started by Jeff, Nov 2, 2016.

  1. Jeff
    • Staff / Moderator

    Jeff Canada Administrator Staff Member

    Joined:
    Mar 26, 2008
    Messages:
    4,425
    Likes Received:
    549
    Trophy Points:
    113
    I was reading this article here about plugins for increasing the speed of Wordpress websites:

    https://gtmetrix.com/wordpress-optimization-guide.html

    It basically recommended using W3 Total Cache and WP Smush plugins to speed up a website.

    Has anyone tried this? Is this worth doing?
     
  2. Jeff
    • Staff / Moderator

    Jeff Canada Administrator Staff Member

    Joined:
    Mar 26, 2008
    Messages:
    4,425
    Likes Received:
    549
    Trophy Points:
    113
    I ended up going with the WP Super Cache plugin instead, due to this article:

    https://yoast.com/w3-total-cache/

    Also, it's worth removing any inactive plugins, plus optimizing your database through phpmyadmin.

    I tried a number of other recommendations, but did not really notice any improvement.
     
  3. kunnusingh

    kunnusingh India New Member

    Joined:
    Aug 21, 2009
    Messages:
    15
    Likes Received:
    5
    Trophy Points:
    3
    I do not use any plugin for optimization, Best option is compressing your site content and use compression technology which will compress your site by 60%+ and your site speed will be increased.
     
  4. Jeff
    • Staff / Moderator

    Jeff Canada Administrator Staff Member

    Joined:
    Mar 26, 2008
    Messages:
    4,425
    Likes Received:
    549
    Trophy Points:
    113
    Thanks - how does one do that?
     
  5. kunnusingh

    kunnusingh India New Member

    Joined:
    Aug 21, 2009
    Messages:
    15
    Likes Received:
    5
    Trophy Points:
    3

    You can compress your site by using .htaccess and If you are using cPanel then login to your cPanel >> Website Optimize >> Enable it.

    Here is .htaccess code:
    Method 1:
    Code:
    <IfModule mod_deflate.c>
      AddOutputFilterByType DEFLATE text/html
      AddOutputFilterByType DEFLATE text/css
      AddOutputFilterByType DEFLATE text/javascript
      AddOutputFilterByType DEFLATE text/xml
      AddOutputFilterByType DEFLATE text/plain
      AddOutputFilterByType DEFLATE image/x-icon
      AddOutputFilterByType DEFLATE image/svg+xml
      AddOutputFilterByType DEFLATE application/rss+xml
      AddOutputFilterByType DEFLATE application/javascript
      AddOutputFilterByType DEFLATE application/x-javascript
      AddOutputFilterByType DEFLATE application/xml
      AddOutputFilterByType DEFLATE application/xhtml+xml
      AddOutputFilterByType DEFLATE application/x-font
      AddOutputFilterByType DEFLATE application/x-font-truetype
      AddOutputFilterByType DEFLATE application/x-font-ttf
      AddOutputFilterByType DEFLATE application/x-font-otf
      AddOutputFilterByType DEFLATE application/x-font-opentype
      AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
      AddOutputFilterByType DEFLATE font/ttf
      AddOutputFilterByType DEFLATE font/otf
      AddOutputFilterByType DEFLATE font/opentype
    
    # For Olders Browsers Which Can't Handle Compression
      BrowserMatch ^Mozilla/4 gzip-only-text/html
      BrowserMatch ^Mozilla/4\.0[678] no-gzip
      BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    </IfModule>



    Method 2:
    Code:
    <ifModule mod_gzip.c>
      mod_gzip_on Yes
      mod_gzip_dechunk Yes
      mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
      mod_gzip_item_include mime ^application/x-javascript.*
      mod_gzip_item_include mime ^text/.*
      mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
      mod_gzip_item_exclude mime ^image/.*
      mod_gzip_item_include handler ^cgi-script$
    </ifModule>


    My site is compressed by 70%, You can check it on www. varvy.com/tools/gzip And your forum inforum.in is compressed by 79% :eek:

    [​IMG]
     
    Jeff likes this.
  6. Jeff
    • Staff / Moderator

    Jeff Canada Administrator Staff Member

    Joined:
    Mar 26, 2008
    Messages:
    4,425
    Likes Received:
    549
    Trophy Points:
    113
    Amazing! Thanks so much!
     
    kunnusingh likes this.
  7. NoeIST

    NoeIST Serbia New Member

    Joined:
    Apr 9, 2010
    Messages:
    17
    Likes Received:
    1
    Trophy Points:
    3
    Home Page:
  8. Mallard

    Mallard United Kingdom Member

    Joined:
    Dec 17, 2016
    Messages:
    149
    Likes Received:
    18
    Trophy Points:
    18
    Location:
    London (work)
    When I don't have time to manually optimise, I use the WP-Optimise plugin. It is also good for a quick tumeup. It clears post revisions and old meta-data, so generally just cleans up Wordpress. Just remember to back your database up first, but I've never had a problem with it.
     
    Jeff likes this.
  9. Jeff
    • Staff / Moderator

    Jeff Canada Administrator Staff Member

    Joined:
    Mar 26, 2008
    Messages:
    4,425
    Likes Received:
    549
    Trophy Points:
    113
    Thanks - I wasn't aware of that plugin. I'll give it a try.
     
  10. NoeIST

    NoeIST Serbia New Member

    Joined:
    Apr 9, 2010
    Messages:
    17
    Likes Received:
    1
    Trophy Points:
    3
    Home Page:
  11. randiv

    randiv India New Member

    Joined:
    Sep 27, 2016
    Messages:
    14
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    India
    Home Page:
    OK, Got It, But what do you think about yoast plugin ?
     
  12. Simone

    Simone South Africa Member

    Joined:
    Dec 21, 2016
    Messages:
    101
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    New York
    Thank you so much for the tip about compressing websites. I have done that on my site, and it worked wonders. Now, is there something else we should be doing in addition to this, or is this enough on its own?
     
  13. Jessica Johansson

    Jessica Johansson India New Member

    Joined:
    Dec 21, 2016
    Messages:
    28
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    India
    Home Page:
    Thanks for sharing, Got It.
     
  14. Connected

    Connected United States Member

    Joined:
    Dec 24, 2016
    Messages:
    128
    Likes Received:
    15
    Trophy Points:
    18
    Location:
    U.S.A.
    If I ever have this issue arise on my own computer, I'm calling you guys. If the optimize plug-in doesn't work for some weird reason.
     
  15. Dusart

    Dusart South Africa Member

    Joined:
    Dec 22, 2016
    Messages:
    126
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Sandton
    Thanks for the great advice. As a website owner, I know that everyone wants a faster loading site, but sometimes it's hard to be able to figure out what to do that will be most effective.
     
  16. domain investor

    domain investor United Kingdom Member

    Joined:
    Oct 21, 2017
    Messages:
    40
    Likes Received:
    16
    Trophy Points:
    8
    Location:
    UK
    Home Page:
    Testing my site using gtmetrix my site is showing PageSpeed of A (90%), YSlow Score C(74%), and Fully Loaded Time 2.0 seconds.

    All these are above average, but it needed trial and error to get it somewhere near right.

    I have a couple of plugins for my WordPress site specifically for speeding it up.

    One is Autoptimize, which describes itself - 'Optimizes your website, concatenating the CSS and JavaScript code, and compressing it,' and the other plugin I use is WP Super Cache.
     
    Jeff likes this.
  17. Swisslist

    Swisslist United States Member

    Joined:
    May 10, 2016
    Messages:
    155
    Likes Received:
    17
    Trophy Points:
    18
    Location:
    U.S.A.
    One guy told me that he has a blog specifically for trial and error purposes. It's a guinea pig basically. Before he makes a big change on his regular blog, he tests whatever out on his other blog first.
     
  18. domain investor

    domain investor United Kingdom Member

    Joined:
    Oct 21, 2017
    Messages:
    40
    Likes Received:
    16
    Trophy Points:
    8
    Location:
    UK
    Home Page:
    Sounds a good idea. The only thing is that if the content is very different, what might work on one might not be so good on the other?

    But still, where big changes are concerned, a guinea pig blog should help.