[racket] Serving static content

From: Alexis King (lexi.lambda at gmail.com)
Date: Fri Mar 20 04:21:28 EDT 2015

I’m interested in creating a web application, and I plan to write the front-end in ordinary JavaScript and HTML. A large portion of the content served will just be static HTML, JavaScript, and CSS.

I plan to interact with the server via a standard JSON API and WebSockets, both of which I’m interested in developing in Racket. That said, does it make any sense to use the Racket web server to serve purely static content? Would it be more worth my time to use a more traditional server infrastructure for the caching and content handling?

Either way, is there a good method for serving static content via the Racket web server? Is there anything I should know to get the best performance if I did plan to go that route?

Thanks,
Alexis

Posted on the users mailing list.