{"id":3627,"date":"2017-10-09T15:01:24","date_gmt":"2017-10-09T14:01:24","guid":{"rendered":"https:\/\/www.gamlor.info\/wordpress\/?p=3627"},"modified":"2021-03-11T09:42:56","modified_gmt":"2021-03-11T08:42:56","slug":"need-a-cdn-try-out-edgemesh-com","status":"publish","type":"post","link":"https:\/\/www.gamlor.info\/wordpress\/2017\/10\/need-a-cdn-try-out-edgemesh-com\/","title":{"rendered":"Need a CDN? Try out edgemesh.com."},"content":{"rendered":"<p>Do you need a CDN for your website? Maybe you want to try edgemesh.com. The basic subscription is free!<\/p>\n<h2>Start<\/h2>\n<p>First sign up on <a href=\"https:\/\/edgemesh.com\/\">edgemesh.com<\/a>. Then embed this script into your website:<\/p>\n<script src=\"https:\/\/gist.github.com\/d71405db7a446220a11590dac0246a3b.js?file=edge-mesh.html\"><\/script><noscript><pre><code class=\"language-html html\">&lt;script\n    type=&quot;application\/javascript&quot;\n    src=&quot;https:\/\/sig.edgeno.de\/edgemesh.client.min.js&quot;\n    onload=&quot;window.edgemesh = new Edgemesh()&quot;&gt;\n&lt;\/script&gt;<\/code><\/pre><\/noscript>\n<p>Done. Really!<\/p>\n<h2>So, how does Edgemesh work?<\/h2>\n<p>A normal CDN has tons of servers all over the world. Those server caches your images, CSS and Javascript. So, visitors can download your content quickly from a close CDN server. However, if there is no CDN server in your visitors area, they won`t benefit from quick downloads. And CDN servers are not free!<br \/>\n<div id=\"attachment_3649\" style=\"width: 710px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/classic-cdn-en-final.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3649\" src=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/classic-cdn-en-final-1024x696.jpg\" alt=\"\" width=\"700\" height=\"476\" class=\"size-large wp-image-3649\" srcset=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/classic-cdn-en-final-1024x696.jpg 1024w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/classic-cdn-en-final-300x204.jpg 300w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/classic-cdn-en-final-768x522.jpg 768w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/classic-cdn-en-final.jpg 1177w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/a><p id=\"caption-attachment-3649\" class=\"wp-caption-text\">Classic CDN<\/p><\/div><br \/>\nEdgemesh works differently. Nowadays our phones and computers are really fast. Our web browsers are powerful. Browsers have an IndexeDB database and can do P2P networking with WebRTC. This is what Edgemesh uses. When visitors visit a website, Edgemesh stores some content in their browser. When another nearby visitor needs the same content, they download it from other visitor`s browsers. Therefore, if you have many visitors, they can fetch the content quickly from each other.<\/p>\n<p><div id=\"attachment_3653\" style=\"width: 710px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/edge-mesh-en-final.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3653\" src=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/edge-mesh-en-final-1024x613.jpg\" alt=\"\" width=\"700\" height=\"419\" class=\"size-large wp-image-3653\" srcset=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/edge-mesh-en-final-1024x613.jpg 1024w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/edge-mesh-en-final-300x180.jpg 300w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/edge-mesh-en-final-768x460.jpg 768w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/edge-mesh-en-final.jpg 1336w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/a><p id=\"caption-attachment-3653\" class=\"wp-caption-text\">Edgemesh<\/p><\/div><br \/>\nHowever, we can not trust the visitor`s internet connection. Maybe it is very slow, maybe it is suddenly interrupted. So, Edgemesh prefetches some content and falls back to regular downloads if it is to slow. Also, you can add Edgemesh &#8216;supernodes&#8217;, which act a bit like a regular CDN servers. Furthermore, you can combine Edgemesh with a traditional CDN.<\/p>\n<h2>Does it work?<\/h2>\n<p>Yes. This blog has close to no visitors, yet Edgemesh manages to store and distribute some content:<br \/>\n<div id=\"attachment_3640\" style=\"width: 710px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/gamlor-on-edgemesh-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3640\" src=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/gamlor-on-edgemesh-1-1024x576.png\" alt=\"\" width=\"700\" height=\"394\" class=\"size-large wp-image-3640\" srcset=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/gamlor-on-edgemesh-1-1024x576.png 1024w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/gamlor-on-edgemesh-1-300x169.png 300w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/gamlor-on-edgemesh-1-768x432.png 768w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/2017\/10\/gamlor-on-edgemesh-1.png 1920w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/a><p id=\"caption-attachment-3640\" class=\"wp-caption-text\">This sites Edgemesh network<\/p><\/div><br \/>\nJust try it out on your site. =)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you need a CDN for your website? Maybe you want to try edgemesh.com. The basic subscription is free! Start First sign up on edgemesh.com. Then embed this script into&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[268,187],"tags":[314,313],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/posts\/3627"}],"collection":[{"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/comments?post=3627"}],"version-history":[{"count":16,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/posts\/3627\/revisions"}],"predecessor-version":[{"id":3658,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/posts\/3627\/revisions\/3658"}],"wp:attachment":[{"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/media?parent=3627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/categories?post=3627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/tags?post=3627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}