It's not that the framework will come to an halt. It's that a server serving static file directly would be an order of magnitude faster.
https://unix4lyfe.org/time/hn.html is a nice article on how server react to heavy load when serving static file. 2016-06-27 18:26 GMT+02:00 Ankush Thakur <[email protected]>: > I keep hearing in the docs and in tutorials that frameworks are horrible > when it comes to service static files. In production, also, one needs to set > up another dedicated server to serve static files. > > I'm wondering why. What is so special about serving static files that a > framework comes to a halt, even though the same framework can happily serve > thousands of requests per hour? > > Regards, > Ankush Thakur > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CALX%3DrKLw_nMxZz7xeC0N%3D5Zwn0Q0eZnV_GFGkdwmP-%3DabtPMUQ%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- Cordialement, Coues Ludovic +336 148 743 42 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEuG%2BTaKCRLharU2e51qrWnENq5T_rxbefsSt3koFL6%3DbEB7ww%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

