[{"data":1,"prerenderedAt":233},["ShallowReactive",2],{"term-c\u002Fcloudflare":3,"related-c\u002Fcloudflare":209},{"id":4,"title":5,"acronym":6,"body":7,"category":187,"description":188,"difficulty":189,"extension":190,"letter":191,"meta":192,"navigation":193,"path":194,"related":195,"seo":203,"sitemap":204,"stem":207,"subcategory":6,"__hash__":208},"terms\u002Fterms\u002Fc\u002Fcloudflare.md","Cloudflare",null,{"type":8,"value":9,"toc":181},"minimark",[10,15,19,23,26,30,170,174,177],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"Cloudflare is like a superhero shield in front of your website. It makes your site load faster everywhere in the world, protects you from hackers and DDoS attacks, and does a million other things at the 'edge' (close to your users). Also their free tier is shockingly generous.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"Cloudflare is a global cloud network providing CDN, DDoS protection, DNS, SSL\u002FTLS, edge computing (Workers), serverless storage (R2, KV, D1), and Zero Trust security. It operates one of the largest networks in the world with 300+ data centers globally.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-javascript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Cloudflare Worker — run code at the edge\nexport default {\n  async fetch(request) {\n    return new Response('Hello from the edge!', {\n      headers: { 'Content-Type': 'text\u002Fplain' }\n    });\n  }\n};\n","javascript","",[38,39,40,49,63,86,115,147,158,164],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","\u002F\u002F Cloudflare Worker — run code at the edge\n",[41,50,52,56,59],{"class":43,"line":51},2,[41,53,55],{"class":54},"s7zQu","export",[41,57,58],{"class":54}," default",[41,60,62],{"class":61},"sMK4o"," {\n",[41,64,66,70,74,77,81,84],{"class":43,"line":65},3,[41,67,69],{"class":68},"spNyl","  async",[41,71,73],{"class":72},"swJcz"," fetch",[41,75,76],{"class":61},"(",[41,78,80],{"class":79},"sHdIc","request",[41,82,83],{"class":61},")",[41,85,62],{"class":61},[41,87,89,92,95,99,101,104,108,110,113],{"class":43,"line":88},4,[41,90,91],{"class":54},"    return",[41,93,94],{"class":61}," new",[41,96,98],{"class":97},"s2Zo4"," Response",[41,100,76],{"class":72},[41,102,103],{"class":61},"'",[41,105,107],{"class":106},"sfazB","Hello from the edge!",[41,109,103],{"class":61},[41,111,112],{"class":61},",",[41,114,62],{"class":61},[41,116,118,121,124,127,130,133,135,137,139,142,144],{"class":43,"line":117},5,[41,119,120],{"class":72},"      headers",[41,122,123],{"class":61},":",[41,125,126],{"class":61}," {",[41,128,129],{"class":61}," '",[41,131,132],{"class":72},"Content-Type",[41,134,103],{"class":61},[41,136,123],{"class":61},[41,138,129],{"class":61},[41,140,141],{"class":106},"text\u002Fplain",[41,143,103],{"class":61},[41,145,146],{"class":61}," }\n",[41,148,150,153,155],{"class":43,"line":149},6,[41,151,152],{"class":61},"    }",[41,154,83],{"class":72},[41,156,157],{"class":61},";\n",[41,159,161],{"class":43,"line":160},7,[41,162,163],{"class":61},"  }\n",[41,165,167],{"class":43,"line":166},8,[41,168,169],{"class":61},"};\n",[11,171,173],{"id":172},"when-youll-hear-this","When You'll Hear This",[16,175,176],{},"\"Put it behind Cloudflare for the free DDoS protection.\" \u002F \"We use Cloudflare Workers to handle auth at the edge.\"",[178,179,180],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":182},[183,184,185,186],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":172,"depth":51,"text":173},"cloud","Cloudflare is like a superhero shield in front of your website.","beginner","md","c",{},true,"\u002Fterms\u002Fc\u002Fcloudflare",[196,197,198,199,200,201,202],"CDN","Edge Computing","Edge Function","DNS","DDoS","Serverless","R2",{"title":5,"description":188},{"changefreq":205,"priority":206},"weekly",0.7,"terms\u002Fc\u002Fcloudflare","5jEErqWp-XsCIvDwjNQGZciy_SedpXeYWIkEweHnPBw",[210,214,218,223,227,230],{"title":196,"path":211,"acronym":212,"category":187,"difficulty":189,"description":213},"\u002Fterms\u002Fc\u002Fcdn","Content Delivery Network","A CDN is a network of servers spread around the world that store copies of your files.",{"title":200,"path":215,"acronym":200,"category":216,"difficulty":189,"description":217},"\u002Fterms\u002Fd\u002Fddos","security","DDoS (Distributed Denial of Service) is when thousands of computers flood your server with so much fake traffic that it can't handle real users.",{"title":199,"path":219,"acronym":220,"category":221,"difficulty":189,"description":222},"\u002Fterms\u002Fd\u002Fdns","Domain Name System","networking","DNS is the internet's phonebook. You type 'google.",{"title":197,"path":224,"acronym":6,"category":187,"difficulty":225,"description":226},"\u002Fterms\u002Fe\u002Fedge-computing","intermediate","Your server is in Virginia. Your user is in Tokyo. Every request travels 10,000 km and back.",{"title":198,"path":228,"acronym":6,"category":187,"difficulty":189,"description":229},"\u002Fterms\u002Fe\u002Fedge-function","Edge functions run your code at the CDN edge — meaning close to the user, not in some faraway data center.",{"title":201,"path":231,"acronym":6,"category":187,"difficulty":189,"description":232},"\u002Fterms\u002Fs\u002Fserverless","Serverless doesn't mean there are no servers — it means YOU don't have to think about servers. Someone else manages them, scales them, and patches them.",1776518266301]