3 ms·
If you are using python code for serving static files, probably you are not seeing lots of traffic yet, I guess you should reconsider your decision and watch "S
by tuyguntn 11y ago
If you are using python code for serving static files, probably you are not seeing lots of traffic yet, I guess you should reconsider your decision and watch "Simple made Easy"[1] talk by Rich Hickey
[1] http://www.infoq.com/presentations/Simple-Made-Easy http://www.infoq.com/presentations/Simple-Made-Easy
- danneu 11y agoLooks like Whitenoise can gzip your assets, add a hash to the filename, serve them with far-future headers, and then selectively serve the gzipped version based on Accept-Encoding headers. Put that behind Cloudflare and your origin server is only hit when an edge location is warming its cache. Sounds Hickey-tier simple to me, especially compared to your advice of "just use and configure Nginx".