Page speed: Slower with W3 and WP rocket

7 replies
  • SEO
  • |
Hi!
Why is my site slower with W3 total cache and WP rocket, then without?
I had W3 total cache first but it didnt work properly, so i uninstalled it, made the test and then installed WP rocket, but both times my site was faster without any of them.

Without my stats on gmetrix was page 52% and yslow 79%
On google page speed 90 and 92
And speed first time visit 2.5s and visited 0.6s

Now with WP rocket i get 92% and 95%
72% and 87% on google
and pagespeed 4.5s and 2.5s

I dont get it?

Edit: I now see something, it gives me different results depending if i use www or non-www. Why?
#page #rocket #slower #speed
  • Profile picture of the author Anthony Martello
    W3 Total Cache is very tricky to configure correctly. Just installing it without configuring it will likely slow down your site. Find a developer with a lot of experience with W3 and have them configure it.
    {{ DiscussionBoard.errors[9769697].message }}
    • Profile picture of the author Corey Taylor
      Originally Posted by Anthony Martello View Post

      W3 Total Cache is very tricky to configure correctly. Just installing it without configuring it will likely slow down your site. Find a developer with a lot of experience with W3 and have them configure it.
      Can't agree more.

      Either do that or use a different caching plugin.

      I've installed hyper cache, with the basic settings and
      my site's speed is higher than ever.

      I used it on a shared hosting by the way.

      Give it a try!
      {{ DiscussionBoard.errors[9769948].message }}
  • Profile picture of the author mrbambocha
    I read alot of guides on how to set it up. Got it working eventlualy but read the WP rocket was better so gave it a go. Maybe the better speed without anything was just a bug?

    What about the different speeds for www and non-www?
    Why does it differ?
    {{ DiscussionBoard.errors[9769716].message }}
  • Profile picture of the author SEO-Dave
    Does the www or non-www redirect to the other version?

    If so having the redirect will slow a site down when testing the version that redirects (a redirect takes time).

    Don't worry about this if it's the cause, always test the version you use.

    If you haven't set a redirect Google will use the version with most backlinks most of the time, but it's a good idea to setup a relevant 301 redirect of either www to non-www or the otherway around and set one as default under Google webmaster tools.

    See 301 Redirect Htaccess for .htaccess rules is you use an apache server and haven't already got the rules in place.

    If it's not the above W3 Total Cache is an awesome plugin, but caching etc... isn't a simple matter, very easy to get it wrong. On the servers I use I can't use the database object caching, results in the site running slow. It's a case of test with various options and find the best config for your server.

    David
    {{ DiscussionBoard.errors[9769946].message }}
  • Profile picture of the author peterachutha
    I haven't used W3 Total Cache for a very long time and have not used WP rocket. This is because my sites were horribly hacked frequently so I developed a anti hacking php software, the Bad Bot Exterminator and the SuperFast Cache WordPress plugin over the last 2 years. When used together the performances are quite good as my posts webpage speeds have improved 2 to 3 times faster.

    But I have not seen the www and the non-www effect. Probably because I re-route it in the .htaccess file. I used the code provided in Force users to use the WWW or Non-WWW version of your domain - Htaccess Basics

    # Redirect non-www urls to www
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^dpabadbot\.com [NC]
    RewriteRule (.*) https://www.dpabadbot.com/$1 [R=301,L]


    Now I do not use any other caching program or anti hacking program, just the one I had developed. You can read more about these products at my WSO at http://www.warriorforum.com/warrior-...rformance.html or at my site at https://www.dpabadbot.com/kill-all-b...e-security.php

    I hope this helps.
    {{ DiscussionBoard.errors[9770234].message }}
  • Profile picture of the author mrbambocha
    Thanks!
    I found different examples of the 301-redirect.
    They all look very similar. Which method/coding is the proper way??

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^dpabadbot.com [NC]
    RewriteRule (.*) https://www.dpabadbot.com/$1 [R=301,L]
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^stallion-theme.co.uk$
    RewriteRule (.*) http://www.stallion-theme.co.uk/$1 [R=301,L]
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^example.se [NC]
    RewriteRule ^(.*)$ http://www.example.se/$1 [L,R=301,NC]
    {{ DiscussionBoard.errors[9770456].message }}
  • Profile picture of the author peterachutha
    Hi mrbambocha,

    What is your domain name?

    if you want to force all mydomain.com to www.mydomain.com then you can use
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^mydomain.com [NC]
    RewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]

    if you want to force all www.mydomain.com to mydoamin.com then you use

    # Redirect www urls to non-www
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www.mydomain.com [NC]
    RewriteRule (.*) http://mydomain.com/$1 [R=301,L]

    I know that Force users to use the WWW or Non-WWW version of your domain - Htaccess Basics shows the domain name as domain\.com but I am using as domain.com (without the \) and it works for my site.

    Please do refer to Module Rewrite - URL Rewriting guide provides more explanation.

    Just replace your "mydomain.com" in the code above with your domain name.

    I hope this helps.
    {{ DiscussionBoard.errors[9770631].message }}

Trending Topics