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
2023-10-18 22:40:17 +00:00
AUTHORS.md Initial Commit 2016-10-16 22:00:06 +03:00
cachep2p.min.js Update to latest webtorrent version 2017-02-11 23:16:08 +02:00
CHANGELOG.md Update CHANGELOG.md 2016-10-22 21:11:12 +03:00
index.js Modify bash hash error message and do not add same hash more than once 2016-10-22 20:57:39 +03:00
LICENSE Initial Commit 2016-10-16 22:00:06 +03:00
package.json Update to latest webtorrent version 2017-02-11 23:16:08 +02:00
README.md Update README.md 2023-10-18 22:40:17 +00:00



CacheP2P


CDNJS version

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.

Negotiation

License

MIT