This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: preload object.new object.put object.patch.* #1471
Closed
Closed
Commits on Jul 25, 2018
-
This PR adds a new config property `preload`: ```js new IPFS({ preload: { enabled: false, addresses: [{ bootstrap: '/multiaddr/bootstrap/address/tcp/4001/ipfs/peerId', gateway: '/multiaddr/gateway/address/tcp/9090' }] } }) ``` * `preload.enabled` (default `false`) enables/disabled preloading * `preload.addresses` array of node addresses to preload content on * `preload.addresses.0.bootstrap` the swarm address of the preload node. This is added to the node's bootstrap addresses * `preload.addresses.0.gateway` the gateway address of the preload node. This is the address we make a HTTP HEAD request to, to initiate the preload After adding content with `ipfs.files.add*` or `ipfs.dag.put`, we make HTTP HEAD requests to _all_ preload gateway addresses (providing `preload.enabled` is true). License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 197335c - Browse repository at this point
Copy the full SHA 197335cView commit details -
test: add preload tests for ipfs.files.add and make fixes
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25a8c4f - Browse repository at this point
Copy the full SHA 25a8c4fView commit details -
refactor: only create new CID if not already stringy
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d040f26 - Browse repository at this point
Copy the full SHA d040f26View commit details -
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84d2830 - Browse repository at this point
Copy the full SHA 84d2830View commit details -
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02bfe13 - Browse repository at this point
Copy the full SHA 02bfe13View commit details
Commits on Jul 26, 2018
-
refactor: switch to /api/v0/refs
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa2478a - Browse repository at this point
Copy the full SHA aa2478aView commit details -
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 993a5fb - Browse repository at this point
Copy the full SHA 993a5fbView commit details -
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 869b305 - Browse repository at this point
Copy the full SHA 869b305View commit details -
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd7041c - Browse repository at this point
Copy the full SHA dd7041cView commit details -
fix: start/stop fix and add preload request time logging
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73be955 - Browse repository at this point
Copy the full SHA 73be955View commit details -
fix: bootstrap default list in tests
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c8e2a23 - Browse repository at this point
Copy the full SHA c8e2a23View commit details -
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67300cc - Browse repository at this point
Copy the full SHA 67300ccView commit details -
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bb9961 - Browse repository at this point
Copy the full SHA 1bb9961View commit details
Commits on Jul 27, 2018
-
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 50500e2 - Browse repository at this point
Copy the full SHA 50500e2View commit details -
License: MIT Signed-off-by: Alan Shaw <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 22cd932 - Browse repository at this point
Copy the full SHA 22cd932View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.