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

support serving a directory of static files from core #3849

Closed
ry opened this Issue Aug 8, 2012 · 6 comments

Comments

Projects
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.

Member

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.

Member

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.

--Josh

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

If you need this functionality: npm install st http://npm.im/st


Reply to this email directly or view it on GitHubhttps://github.com/joyent/node/issues/3849#issuecomment-7891524.

Joshua Holbrook
Head of Support
Nodejitsu Inc.
josh@nodejitsu.com

Member

piscisaureus commented Aug 21, 2012

@isaacs Nice :-)

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