Comparison w/ blacknoise? #91
-
DescriptionSeems like this project and https://github.com/matthiask/blacknoise are the 2 ASGI-compliant/-native static file serving middleware implementations for folks doing e.g. Django ASGI w/ uvicorn as the webserver. I'm sure a discussion enumerating the pros/cons/etc. of the 2 projects would be useful for folks like me! Related/mirror issue in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
ServeStatic started as a fork of WhiteNoise to add ASGI, and as such supports all the complex features and auto-configuration that comes with it. On the downside it means our code complexity is higher, which can make it more difficult to maintain. Blacknoise is not a fork, and instead is an extremely lightweight ASGI file server. Since there is so little code, it is much easier for the developer to maintain. However, that comes at the cost of features/configuration/integrations/etc. |
Beta Was this translation helpful? Give feedback.
ServeStatic started as a fork of WhiteNoise to add ASGI, and as such supports all the complex features and auto-configuration that comes with it. On the downside it means our code complexity is higher, which can make it more difficult to maintain.
Blacknoise is not a fork, and instead is an extremely lightweight ASGI file server. Since there is so little code, it is much easier for the developer to maintain. However, that comes at the cost of features/configuration/integrations/etc.