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.
closed as primarily opinion-based by Tom O'Connor♦ Aug 25 at 21:37
Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.
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).