News for hackers. Stuff that matters.
Re:Is Nginx obsolete now that we have Amazon CloudFront? by rabidsnail on Monday July 30, 2012 @06:46PM (#4315087)
nginx still buys you SSI (which allows you to, for example, cache the same page for all users and have nginx swap out the username with a value stored in memcache), complex rewrite rules, fancy memcache stuff with the memc module (ex: view counters), proxying to more than ten upstream servers, fastcgi, and lots of other fancy stuff.

Cloudfront is a replacement for varnish, not nginx.

Re:Is Nginx obsolete now that we have Amazon CloudFront? by peterbe on Monday July 30, 2012 @07:25PM (#4315224)
Isn't that better to do in a programming environment you're more familiar with? LIke python/rails/ASP Then you have much better tools for building unit tests and stuff too.
Re:Is Nginx obsolete now that we have Amazon CloudFront? by rabidsnail on Tuesday July 31, 2012 @06:53AM (#4316579)
The performance of doing it in nginx is _much_ better, and you can't do anything complex enough for unit tests to pay off. For the SSI stuff, you have your web framework of choice produce html with SSI tags in it, cache that, and nginx just swaps out the volatile bits at the last second (even for pages in cache).
Re:Is Nginx obsolete now that we have Amazon CloudFront? by qw on Monday July 30, 2012 @07:10PM (#4315178)
I don't have much experience with Varnish, but it does support ESI, that is similar to SSI.