Skip to content
This repository has been archived by the owner on Apr 22, 2023. 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
Closed

support serving a directory of static files from core #3849

ry opened this issue Aug 8, 2012 · 6 comments
Labels

Comments

@ry
Copy link

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
Copy link

hmm, really?

@isaacs
Copy link

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
Copy link
Member

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

@isaacs
Copy link

isaacs commented Aug 21, 2012

If you need this functionality: npm install st

@jfhbrook
Copy link

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//issues/3849#issuecomment-7891524.

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

@piscisaureus
Copy link

@isaacs Nice :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants