This repository has been archived by the owner. It is now read-only.

support serving a directory of static files from core #3849

ry opened this Issue Aug 8, 2012 · 6 comments


None yet
5 participants

ry commented Aug 8, 2012

This is a very useful feature which nearly every http user needs. Optimizations to use sendfile can be done in the future. This is one of these things that is Too difficult to be outside core.


piscisaureus commented Aug 8, 2012

hmm, really?

isaacs commented Aug 9, 2012

Yeah, I'm kinda unconvinced on this. I mean, in practice there's so much that you need to get right, most of which is app-specific. (ETags, caching, ranges, gzipping, etc.)

It's pretty high-level.


bnoordhuis commented Aug 13, 2012

It seems the consensus is that no, we're not going to add that but thanks for the input. :-)

@bnoordhuis bnoordhuis closed this Aug 13, 2012

isaacs commented Aug 21, 2012

If you need this functionality: npm install st

Shit. This looks way nicer than the static fileserving module I hacked
together. I'll have to give it a test drive.


On Mon, Aug 20, 2012 at 9:54 PM, Isaac Z. Schlueter <> wrote:

If you need this functionality: npm install st

Reply to this email directly or view it on GitHub

Joshua Holbrook
Head of Support
Nodejitsu Inc.


piscisaureus commented Aug 21, 2012

@isaacs Nice :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.