CacheP2P is an edge (where "edge" is the browsers accessing the content at any given moment) CDN based on WebTorrent (e.g. BitTorrent + WebRTC) the runs entirely within the browser context.
Find a file
Bernardo Vecchia Stein daee3bf493 Check security hash before accepting downloaded files.
Fixes #7 in the simplest possible way. The current code will
ignore any files with a different security hash from the one
given by the developer. When ignoring, it emits a message
warning of a potentially malicious content. It will also always
emit a message when a downloaded file passes the security hash
check.
2016-10-22 03:01:07 -02:00
AUTHORS.md Initial Commit 2016-10-16 22:00:06 +03:00
cachep2p.min.js Check security hash before accepting downloaded files. 2016-10-22 03:01:07 -02:00
CHANGELOG.md Initial Commit 2016-10-16 22:00:06 +03:00
index.js Check security hash before accepting downloaded files. 2016-10-22 03:01:07 -02:00
LICENSE Initial Commit 2016-10-16 22:00:06 +03:00
package.json Add min.js to github repo, npm sync 0.1.3 2016-10-21 15:24:26 +03:00
README.md Update readme and security checking messages 2016-10-21 15:07:53 +03:00



CacheP2P


CacheP2P is a highly distributed cache platform based on WebTorrent and runs only in the browser.

It is a javascript library that once included in a website, makes every new user a mirror of the specific URL he has opened and allows it to serve it to all the other users that also are accessing the same website, so the website's server doesn't have to.

This way users can share the content between themselves, reducing the number of requests for estatic content to the server.

If the website crashes or has problems (the script can be included in the server's error page), all the content that users were accessing in that moment can be retrieved from one another and as long as there are users accessing it no problem will be seen.

For more information, please read the documentation or how it works page.

License

MIT. Copyright (c) CacheP2P