0

does having varnish as a reverse proxy/cacher with nginx backend for dynamic content a good idea? im looking for a way to really speed content up when dealing with a ddos or get flood.

John Thompson
  • 21
  • 1
  • 4

1 Answers1

1

Using varnish for caching is a really good idea since varnish was designed for caching. You will get a specific caching policy description language, proper statistics and logging, some tracing capabilities. I prefer to use varnish for caching and nginx for other tasks (like FastCGI proxying in your case).

Alex
  • 7,939
  • 6
  • 38
  • 52