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,263
    Likes Received:
    412
    Trophy Points:
    83
    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,263
    Likes Received:
    412
    Trophy Points:
    83
    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,263
    Likes Received:
    412
    Trophy Points:
    83
    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,263
    Likes Received:
    412
    Trophy Points:
    83
    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:
    125
    Likes Received:
    12
    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,263
    Likes Received:
    412
    Trophy Points:
    83
    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:
    11
    Likes Received:
    0
    Trophy Points:
    1
    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:
    100
    Likes Received:
    5
    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:
    14
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    India
    Home Page:
    Thanks for sharing, Got It.
     
  14. Connected

    Connected United States Member

    Joined:
    Dec 24, 2016
    Messages:
    105
    Likes Received:
    7
    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:
    125
    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.