3 ms·
How suitable is actix-web for serving static files? I'd love a programmable server for this, as opposed to dealing with nginx.
by lacampbell 7y ago
How suitable is actix-web for serving static files? I'd love a programmable server for this, as opposed to dealing with nginx.
- SahAssar 7y agoIt seems fast enough for simple file serving, but if all you want is modify some of nginx's behavior I'd probably look to openresty or nginxcript instead. It's easy to underestimate how many edge cases that nginx (or similar mature web-servers) will handle for you and that you won't know about when rolling your own webserver.