Varnish cache vs Redis

Moebuntu

Well-known member
Joined
Jul 1, 2016
Messages
99
Best answers
0
Ratings
1 1
Points
8
#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,500
Best answers
4
Ratings
380 10
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,500
Best answers
4
Ratings
380 10
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
10
Best answers
0
Points
0
#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,563
Replies
52
Views
13,565
Replies
5
Views
1,075
Latest Threads
Replies
0
Views
5
Replies
4
Views
16
Replies
0
Views
18
Replies
0
Views
1
Replies
2
Views
26
Recommended Threads
Replies
6
Views
1,109
Replies
5
Views
809
Replies
6
Views
61

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Top