-
Notifications
You must be signed in to change notification settings - Fork 654
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
Is the an option not to cache third-party files #85
Comments
yeah this would be very useful to us too |
How is it different from what it does now? Are you worrying about a disk space, or is it something else? |
@rlidwka main issue for me would be around disk space. |
@jalateras , for now you can separate private modules from third-party ones, and move cache to /tmp/ for example (which you can remove at any time): packages:
'private-*':
allow_access: user
allow_publish: user
storage: /tmp/
'*':
allow_access: all
allow_publish: user
proxy: npmjs
storage: local_storage I'll try to add support for not storing them at all, should be easy enough. |
great. I'll give this a go. |
I added an option in sinopia@0.9.1, now you can specify But I'd suggest not to use it unless you have to, because it will consume a lot more traffic:
But I suppose if you care about hard disk space more than about performance and bandwidth (embedded systems? mini-server like raspberry pi?) this would be useful. |
@rlidwka Great!! I'll upgrade to 0.9.1 and give it a go, |
I'm looking at always serving third-party modules from https://registry.npmjs.org and only store and serve private modules from sinopia. Does such an option exist?
The text was updated successfully, but these errors were encountered: