3 ms·
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 fr
by yummyfajitas 14y ago
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.