Re:Is Nginx obsolete now that we have Amazon CloudFront?
by yummyfajitas on Tuesday July 31, 2012 @08:09AM
(#4316795)
You are correct that the Django folks should be a little more careful with the staticfiles app.
But I disagree with you that the best practice should change from a static server to a front-end proxy cache. Rather, the best practice should consist of using both.
An important concept in security is deperimeterisation- the idea that you shouldn't assume you have a fixed border, inside of which is secure. So by all means, use a front-end proxy cache. But also put some effort into hardening your individual servers, treating them as if they will be operating under a full load.
But I disagree with you that the best practice should change from a static server to a front-end proxy cache. Rather, the best practice should consist of using both.
An important concept in security is deperimeterisation- the idea that you shouldn't assume you have a fixed border, inside of which is secure. So by all means, use a front-end proxy cache. But also put some effort into hardening your individual servers, treating them as if they will be operating under a full load.