Varnish cache vs Redis

Moebuntu

Well-known member
Registered
Joined
Jul 1, 2016
Messages
103
Points
18
I have seen articles on the forum Varnish and Redis cache, both seem good but I don't clarify which is better and I should choose Redis or Varnish Cache? why?
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
Redis seems better because it doesn't act as a proxy. And for WordPress Redis will make your website faster without making the content static.
Varnish doesn't support SSL natively, and if you are using Cloudflare, it already cache your static assets, so that's another reason to prefer Redis.
 

UWH-David

Member
Registered
Joined
Jan 18, 2016
Messages
45
Points
8
Varnish is excellent for delivering static content. If you require SSL, with xVarnish for example, it is extremely easy and fully supports SSL over Hitch. Varnish + PHP opcache for easy setup with support for PHP caching and static content.
 

Polymath

Member
Registered
Joined
Jan 13, 2017
Messages
25
Points
0
I have seen articles on the forum Varnish and Redis cache, both seem good but I don't clarify which is better and I should choose Redis or Varnish Cache? why?
I have probably read some of the same articles that you have. There seems to be a lot of comparisons between these two with any clear answer for which one is best and why. It's also hard for some of us new to this since a lot of info is a little too technical. I have been giving myself a headache looking for some clear answers on this. Time for the tylenol.
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
VirtuBox
At first, Redis is an in-memory database storage when Varnish is a caching-proxy. And it was the main reason to use Redis instead of Varnish, because the proxy was compatible with SSL by default. It seems it's not fixed with the latest release, but for me, it's harder to deploy and to use properly Varnish than Redis.
 

gnusys

New member
Registered
Joined
Jan 20, 2018
Messages
12
Points
3
You are not comparing correctly

Vranish is a Reverse-Proxy . Redis is a key-value store.

I am personally aware of full page caching of pages to redis using nginx sub-requests and since they dont require anything further than nginx and redis.Its the fastest.

So redis standalone cannot be compared to varnish . But redis with nginx (subrequests) is better than varnish
 
Newer Threads
Replies
4
Views
3,544
Replies
52
Views
40,752
Replies
5
Views
3,561
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top