4 ms·
I love how fast your website loads! It feels much more responsive than other, compareably minimalistic sites. How did you do it?
by maho 13y ago
I love how fast your website loads! It feels much more responsive than other, compareably minimalistic sites. How did you do it?
- Sir_Cmpwn 13y agoNothing special, as far as I know. Our nginx config is public [1]. We serve static files directly through nginx and proxy to a gunicorn server for dynamic content. We're a single virtual private server on AWS (soon to be a single dedicated server on Voxility). [1] https://github.com/MediaCrush/MediaCrush/blob/master/config/nginx.conf https://github.com/MediaCrush/MediaCrush/blob/master/config/...
- toomuchtodo 13y agoHave you thought about putting Cloudflare in front of your site to reduce bandwidth consumption?
- Sir_Cmpwn 13y agoWe have CloudFlare set up, but we only plan to turn it on to mitigate DoS attacks and help out if we run into non-malicious severe load.
- toomuchtodo 13y agoWhy not use their CDN to offload? (No snark! As an infrastructure guy, I'm always curious why people decide to do certain things certain ways)
- Sir_Cmpwn 13y agoWell, we make a big deal about user privacy, and I don't want to give a third party access to that kind of information.