Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serving static files #227

Open
ashtonthomas opened this issue Jul 26, 2015 · 4 comments
Open

Serving static files #227

ashtonthomas opened this issue Jul 26, 2015 · 4 comments
Assignees

Comments

@ashtonthomas
Copy link
Contributor

Do we have a preferred manner for serving static files? Should we have something like this built in: https://github.com/alexmamonchik/napa-skeleton/blob/master/lib/middleware/static_files.rb

@shaqq
Copy link
Contributor

shaqq commented Jul 27, 2015

usually from S3

@ashtonthomas
Copy link
Contributor Author

I'm playing with napa on a side project (on an app that will have very little load), and I plan on just serving a single page app from the /public folder. I was thinking we may want to support some wrapper around Rack::Static just to make this easier for others using napa.

@shaqq, do you think it's worth including this in napa?

@heymackey
Copy link
Contributor

I like this idea. Would be nice for SPA that have a Napa backend.

@shaqq
Copy link
Contributor

shaqq commented Jul 27, 2015

Hm. Yeah. I wonder how Napa would best fit in the world of developing SPA's. At Belly we use S3 to serve basic assets. So, I don't have a better answer than "Rails, shrug?"

I suppose I'm indifferent on adding this to Napa, yet knowing that there's most likely a larger architectural decision at play.

@ashtonthomas ashtonthomas self-assigned this Feb 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants