Varnish or No Varnish?


#1

I’ve recently started testing some Varnish settings and I’m finding that with GTMetrix, my website is loading FASTER without Varnish enabled. I was under the impression that the site would be faster WITH Varnish enabled?

The page load speed is pretty staggering.

With Varnish = 5.6 seconds
Without = 2.6 seconds


#2

I don’t use varnish for the same reasons. My perfect optimization setup for wordpress:

  1. HTTP/2 enabled,
  2. Very light Autoptimize optimizations for javascript and css to minimize request (if you’ll overdo it will actually slow a little bit down your website)
  3. WP Super Cache
  4. No Varnish
  5. PHP 7.0 or higher

It has been tested on many different website, which all load pretty much all around the world in under 2 seconds. If the server is close enough to the testing point and no heavy duty plugins enabled then under 1 second load time is possible.


#3

I actually got the page speed down to around 750ms with Varnish enabled. I did have to open a live chat and speak to a technician who did some tweaks and got my issue resolved.


#4

Have you load tested the site?


#5

@erich_197 sounds like they showed you some very useful tips. Fancy sharing?


#6

hi @batey, I actually had the discussion in the live chat and basically told them that my site was getting faster page load times without Varnish vs having it enabled. They made some tweaks on the server side and that was all that I did.


#7

OK. Cool. Their customer service is excellent but sometimes, when I have a problem, they fix it but I’m no wiser as to what they did. Not much use if it happens again with another domain.


#8

Totally feel you on this. What I do is show them the links to GTMetrix and Pingdom with Varnish and Without so they can see what I’m talking about.