A
A
Anton Medvedev2012-10-31 22:57:12
Nginx
Anton Medvedev, 2012-10-31 22:57:12

Should I use Varnish with nginx?

Does it make sense to use Varnish as a "reverse proxy" for nginx?
Or does nginx itself do a good job as an HTTP cache?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Inori, 2012-10-31
@Elfet

Varnish starts showing up if you use ESI.
Without ESI, well-configured nginx + php-fpm go ahead.
Tests: todsul.com/nginx-varnish
Configuration example with ESI: github.com/Inori/symfony2-nginx-varnish

B
Boris Syomov, 2012-11-01
@kotomyava

It strongly depends on the application, of course, but most often, the use of such a bundle is completely unjustified. Yes, and using varnish in general where it doesn’t get is often a bad idea, if only because of its rather strange use of memory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question