Cloudflare logo

How Cloudflare Uses JavaScript

187 engineering articles about JavaScript from Cloudflare's engineering team

Articles

Filter:
Cloudflare logo
Cloudflare
Intermediate
The article introduces Code Mode, a technique that allows AI agents to interact with the entire Cloudflare API using only 1,000 tokens, significantly reducing context window usage.
Matt Carey
9 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
Cloudflare has acquired The Astro Technology Company, the creators of the Astro web framework.
Cloudflare logo
Cloudflare
Advanced
The 2025 Cloudflare Radar Year in Review highlights significant trends in internet traffic, the rise of AI, post-quantum encryption, and the increase in DDoS attacks.
Cloudflare logo
Cloudflare
Advanced
The article discusses enhancements made to the testing experience for Cloudflare Workflows, a durable execution engine for multi-step applications.
Olga Silva
9 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
The article discusses how Cloudflare's client-side security, specifically Page Shield, effectively mitigated the npm supply chain attack that occurred in September 2025.
Bashyam Anant
6 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
The article discusses the CPU performance benchmarks of Cloudflare Workers compared to Vercel, revealing initial discrepancies and subsequent improvements made to enhance performance.
Cloudflare logo
Cloudflare
Advanced
The article reflects on Cloudflare's 15-year journey and the initiatives launched during Birthday Week 2025, emphasizing their commitment to building a better Internet.
Cloudflare logo
Cloudflare
Advanced
The article discusses advancements in reducing cold starts for Cloudflare Workers through a technique called Worker sharding, which utilizes a consistent hash ring to optimize request routing.
Harris Hancock
19 min read
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
The article discusses a new approach to using the Model Context Protocol (MCP) by converting its tools into a TypeScript API, which allows Large Language Models (LLMs) to generate code that interac...
Kenton Varda
15 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
The article discusses security hardening techniques for Cloudflare Workers, focusing on the use of Memory Protection Keys and the V8 sandbox to enhance security when running third-party code.
Erik Corry
17 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
Cap'n Web is a new RPC system designed for browsers and web servers, implemented in pure TypeScript.
Cloudflare logo
Cloudflare
Intermediate
Cloudflare is offering free access to its developer features for students in the United States who are at least 18 years old with a verified . edu email.
Veronica Marin
10 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
Cloudflare is sponsoring two open source projects, Ladybird and Omarchy, to promote a healthier ecosystem for the open web.
Mari Galicer
6 min read
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
The article discusses the advancements in building real-time voice AI applications on Cloudflare's global network.
Cloudflare logo
Cloudflare
Advanced
The article discusses how to enhance website interactivity by implementing conversational search capabilities using NLWeb and AutoRAG.
Catarina Pires Mota
8 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
The article explores how Cloudflare efficiently runs multiple AI models on fewer GPUs using an internal platform called Omni.
Sven Sauleau
10 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
Cloudflare has launched Containers in public beta, allowing users on paid plans to run various applications alongside Workers.
Gabi Villalonga Simón
9 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
The article discusses the collaboration of ten leading AI companies in building remote Model Context Protocol (MCP) servers on Cloudflare, enabling seamless project management and application deplo...
Dina Kozlov
14 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
The article summarizes the key announcements and developments from Developer Week 2025, highlighting new features and tools added to Cloudflare's developer platform.
Cloudflare logo
Cloudflare
Advanced
The article highlights the innovative approaches taken by startups Lamatic AI and Skyward AI in building AI agent platforms using Cloudflare's infrastructure.
Christopher Rotas
12 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
Cloudflare Snippets are now generally available, providing a fast and flexible way to control HTTP traffic using lightweight JavaScript code rules at no extra cost for all paid plans.
Nikita Cano
7 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
The article discusses the integration of frontend, backend, and database functionalities within a single Cloudflare Worker, highlighting recent improvements that enable developers to build full-sta...
Cloudflare logo
Cloudflare
Intermediate
The article announces the 1. 0 release of the Cloudflare Vite plugin, which integrates the Workers runtime with Vite, enhancing the development experience for web applications.
Cloudflare logo
Cloudflare
Beginner
The article discusses the newly announced support for MySQL in Cloudflare Workers and Hyperdrive, enabling developers to build applications that connect directly to MySQL databases regardless of th...
Cloudflare logo
Cloudflare
Advanced
The article introduces the Images binding for Cloudflare Workers, which simplifies the integration of image and video pipelines into full-stack applications.
Deanna Lam
9 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
The article discusses a troubleshooting experience with running tests in a React application using Yarn and Jest, highlighting a peculiar issue where the tests fail due to an unexpected interaction...
Yew Leong
18 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
The article provides a comprehensive recap of Cloudflare's Security Week 2025, highlighting key announcements and innovations aimed at enhancing internet security amidst evolving threats.
Kim Blight
7 min read
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
The article discusses how Cloudflare trains AI to detect malicious JavaScript intent, enhancing web security by integrating this capability into their Page Shield service.
Juan Miguel Cejuela
14 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
This article discusses how Cloudflare is enhancing its platform for building AI agents, introducing new tools and frameworks that simplify the development process.
Cloudflare logo
Cloudflare
Intermediate
The article discusses Cloudflare's approach to upgrading their developer documentation by treating it as an open source product.
Kim Jeske
8 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
The article discusses the launch of Workers Builds, an integrated CI/CD workflow on the Workers platform, enabling developers to build and deploy applications seamlessly from GitHub or GitLab.
Serena Shah-Simpson
15 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
The article discusses the challenges and solutions involved in scaling the AI Gateway on the Cloudflare Developer Platform, specifically focusing on extending log storage capabilities from 30 minut...
Catarina Pires Mota
11 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
Cloudflare has developed a new container platform that leverages GPUs for running various applications across its global network.
Brendan Irvine-Broque
21 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
Builder Day 2024 introduced 18 significant updates to the Cloudflare Workers platform, emphasizing improvements based on developer feedback. Key features include persistent logging, enhanced Node.
Cloudflare logo
Cloudflare
Advanced
The article discusses the integration of SQLite storage within Cloudflare's Durable Objects, emphasizing the benefits of zero-latency access and synchronous SQL queries.
Kenton Varda
24 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
This article discusses the automatic generation of Cloudflare's Terraform provider using OpenAPI schemas, highlighting the benefits of real-time updates and improved documentation for developers.
Jacob Bednarz
15 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Beginner
The article discusses how to run Fortran code on Cloudflare Workers by compiling it to WebAssembly, leveraging the advancements in LLVM and tools like Fortiche.
John Graham-Cumming
5 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
Developer Week 2024 concluded with significant product announcements aimed at enhancing the developer experience on Cloudflare's platform.
Cloudflare logo
Cloudflare
Advanced
Cloudflare has acquired Baselime to enhance its serverless application observability capabilities.
Boris Tane
7 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
This article discusses the general availability of the Browser Rendering API for all paid Cloudflare Workers customers, introduces session management features, and announces the rollout of Cloudfla...
Tanushree Sharma
8 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Intermediate
This article discusses the enhancements made to Cloudflare's integration with popular full-stack frameworks, enabling faster local development workflows.
Cloudflare logo
Cloudflare
Advanced
Cloudflare Workers has introduced a JavaScript-native RPC (Remote Procedure Call) system that simplifies communication between Workers and Durable Objects.
Kenton Varda
17 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Beginner
The article discusses how to enhance the developer experience when using Cloudflare Workers and D1 with Prisma ORM. It highlights the integration of Prisma ORM version 5. 12.
Jon Harrell (Guest Author)
7 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
The article announces the general availability of Cloudflare's Workers AI platform, highlighting new features such as improved pricing, enhanced performance, and expanded partnerships.
Cloudflare logo
Cloudflare
Intermediate
The article discusses the integration of Python into Cloudflare Workers using Pyodide and WebAssembly, enabling developers to write serverless applications in Python.
Cloudflare logo
Cloudflare
Intermediate
The article discusses the new integration of Vitest with Cloudflare Workers, enabling developers to write unit and integration tests that run directly in the workerd runtime.
Cloudflare logo
Cloudflare
Intermediate
The article discusses enhanced debugging capabilities for Cloudflare Workers, focusing on the introduction of breakpoint debugging.
Cloudflare logo
Cloudflare
Beginner
The article introduces a new Socket API designed for interoperability across JavaScript runtimes, specifically highlighting the connect() function.
Dominik Picheta
5 min read
Includes Code
Has Summary
--
Cloudflare logo
Cloudflare
Advanced
The article discusses the introduction of WebGPU support in Cloudflare Workers, highlighting its significance for developers in creating high-performance applications.
Cloudflare logo
Cloudflare
Intermediate
The article discusses the implementation of WebAssembly (Wasm) core dumps and debugging Rust applications in Cloudflare Workers.