Varnish cache vs Redis

Moebuntu

Well-known member
Joined
Jul 1, 2016
Messages
103
Best answers
0
Ratings
2 1
Points
18
#1
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

Global Mod
Staff Member
Joined
May 3, 2016
Messages
1,550
Best answers
4
Ratings
412 13
Points
83
#2
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.
 
Joined
Jan 18, 2016
Messages
40
Best answers
0
Ratings
7
Points
0
#3
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.
 
Joined
Jan 13, 2017
Messages
25
Best answers
0
Ratings
1
Points
0
#4
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

Global Mod
Staff Member
Joined
May 3, 2016
Messages
1,550
Best answers
4
Ratings
412 13
Points
83
#5
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
Joined
Jan 20, 2018
Messages
12
Best answers
0
Ratings
1
Points
3
#6
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
1,720
Replies
52
Views
15,077
Replies
5
Views
1,167
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

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