-
Notifications
You must be signed in to change notification settings - Fork 41
Multi file upload #80
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
Conversation
93fd6c6
to
b232519
Compare
What's the use case exactly? In what situation do you want to upload multiple files this way? |
b232519
to
caab01a
Compare
caab01a
to
c2bcc7f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution. Could you please help us understand the use case whereby you require uploading two files to redis?
In order to understand the use case we can better provide feedback on your PR. As Pepijn mentioned, magically changing the redis data structure that is used based on whether the filePattern
happens to match multiple files seems less than desirable and not very deterministic.
Please give us some more info so that we can work with you on the best solution, whether it be what is proposed in this PR or some other method. 😄
I want to upload and serve multiple files from the same subdomain over https to works with Safaris appcache. Resources served over https to Safari in the appcache EXPLICIT section need to be from the same origin, that is same protocol, subdomain, domain, and port. Had previously tried serving assets from another subdomain pointing to our CDN, it did not work. There are a
|
@mrloop So I can get a better idea, what are the files that you want to upload? This redis plugin as was intended, and really only ever gets used to upload the Are you saying that you're trying to upload all your assets to redis and then your web server will pull the assets from there to serve them? |
@mrloop Have you considered including the plugin multiple times, i.e. once for each file you want to upload (see http://ember-cli-deploy.com/docs/v1.0.x/including-a-plugin-twice/)? That is the solution that I ended up using for the issue #55 that you referenced. |
I've reworked app / deploy and am now serving majority of assets directly from nginx. Serving 2 files from redis / app server Closing this PR, however if there is any value to it would be happy to work further on it. |
What Changed & Why
Support multiple file upload that are matched using filePattern.
Backwards compatible, default is old behavior using single index.html file.
Multiple files stored in redis hash using
HMSET
Related issues
#55
PR Checklist
People
@YoranBrondsema