chore: sync content to repo (#10352)

Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-09-17 10:17:53 +02:00
committed by GitHub
co-authored by nilbuild
parent 2b06b33d0d
commit d90e9ea8a4
64 changed files with 165 additions and 158 deletions
@@ -5,4 +5,4 @@ Cloudflare's AI Gateway acts as a central point for managing and optimizing your
Visit the following resources to learn more:
- [@official@Cloudflare + AI](https://ai.cloudflare.com/)
- [@official@Cloudflare AI Gateway](https://www.cloudflare.com/developer-platform/products/ai-gateway/)
- [@official@Cloudflare AI Gateway](https://www.cloudflare.com/developer-platform/products/ai-gateway/)
@@ -5,4 +5,4 @@ Workers AI provides the ability to run AI models directly on Cloudflare's edge n
Visit the following resources to learn more:
- [@official@Cloudflare + AI](https://ai.cloudflare.com/)
- [@official@Cloudflare AI Model Integration](https://developers.cloudflare.com/ai-gateway/integrations/)
- [@official@Cloudflare AI Model Integration](https://developers.cloudflare.com/ai-gateway/integrations/)
@@ -2,10 +2,10 @@
You can build AI-powered search using Cloudflare Workers, Workers AI, and Vectorize.
1. **Embed Data:** Use Workers AI to create vector embeddings of your data (e.g., text, images).
2. **Store Embeddings:** Store these embeddings in Vectorize.
3. **Search:** When a user searches, embed the search query using Workers AI and then use Vectorize to find the most similar embeddings in your database.
4. **Return Results:** Return the corresponding data items as search results.
1. **Embed Data:** Use Workers AI to create vector embeddings of your data (e.g., text, images).
2. **Store Embeddings:** Store these embeddings in Vectorize.
3. **Search:** When a user searches, embed the search query using Workers AI and then use Vectorize to find the most similar embeddings in your database.
4. **Return Results:** Return the corresponding data items as search results.
Visit the following resources to learn more:
@@ -2,11 +2,11 @@
Several frontend frameworks can be deployed on Cloudflare Pages or used with Cloudflare Workers. Popular choices include:
- **React:** Deploy using Create React App or Next.js.
- **Vue.js:** Deploy using Vue CLI or Nuxt.js.
- **Angular:** Deploy using Angular CLI.
- **Svelte:** Deploy using SvelteKit.
- **Astro**: Deploy using Astro CLI.
* **React:** Deploy using Create React App or Next.js.
* **Vue.js:** Deploy using Vue CLI or Nuxt.js.
* **Angular:** Deploy using Angular CLI.
* **Svelte:** Deploy using SvelteKit.
* **Astro**: Deploy using Astro CLI.
Cloudflare Pages offers optimized builds and deployments for these frameworks. For Workers, you can use these frameworks to render content dynamically at the edge.
@@ -2,11 +2,11 @@
In Cloudflare Workers, Bindings are configurations that connect your Worker to external resources or services. These can include:
- **KV Namespaces:** Binding to a KV namespace allows the Worker to read and write data.
- **Durable Objects:** Bindings specify which Durable Object namespace the Worker can access.
- **Service Bindings:** Connecting to other Workers or Cloudflare services like Queues.
- **Secrets:** Storing sensitive data (API keys) securely.
- **Environment Variables:** Configuring environment-specific settings.
* **KV Namespaces:** Binding to a KV namespace allows the Worker to read and write data.
* **Durable Objects:** Bindings specify which Durable Object namespace the Worker can access.
* **Service Bindings:** Connecting to other Workers or Cloudflare services like Queues.
* **Secrets:** Storing sensitive data (API keys) securely.
* **Environment Variables:** Configuring environment-specific settings.
Bindings are defined in the `wrangler.toml` file and provide a secure and managed way for your Worker to interact with the outside world.
@@ -5,4 +5,4 @@ Cloudflare Bot Management identifies and mitigates malicious bot traffic. It use
Visit the following resources to learn more:
- [@official@Cloudflare Bot Management & Protection](https://www.cloudflare.com/application-services/products/bot-management/)
- [@official@What is Bot Management? | How Bot Managers work?](https://www.cloudflare.com/learning/bots/what-is-bot-management/)
- [@official@What is Bot Management? | How Bot Managers work?](https://www.cloudflare.com/learning/bots/what-is-bot-management/)
@@ -5,4 +5,4 @@ The lifecycle of an R2 bucket involves creation, usage (storing and retrieving o
Visit the following resources to learn more:
- [@official@Buckets · Cloudflare R2](https://developers.cloudflare.com/r2/buckets/)
- [@official@Bucket Lifecycle · Cloudflare R2](https://developers.cloudflare.com/api/resources/r2/subresources/buckets/subresources/lifecycle/)
- [@official@Bucket Lifecycle · Cloudflare R2](https://developers.cloudflare.com/api/resources/r2/subresources/buckets/subresources/lifecycle/)
@@ -2,10 +2,10 @@
In Cloudflare R2, buckets are containers for storing objects. You can perform various bucket operations, including:
- **Creating Buckets:** Creating new buckets to organize your data.
- **Listing Buckets:** Listing all the buckets in your account.
- **Deleting Buckets:** Deleting buckets that are no longer needed (must be empty).
- **Configuring Bucket Policies:** Setting access control policies for buckets.
* **Creating Buckets:** Creating new buckets to organize your data.
* **Listing Buckets:** Listing all the buckets in your account.
* **Deleting Buckets:** Deleting buckets that are no longer needed (must be empty).
* **Configuring Bucket Policies:** Setting access control policies for buckets.
These operations are typically performed using the R2 API, the Cloudflare dashboard, or command-line tools like `wrangler`.
@@ -4,4 +4,4 @@ Cloudflare's Cache API allows Workers to programmatically control caching behavi
Visit the following resources to learn more:
- [@official@Cloudflare API Cache · Cloudflare](https://developers.cloudflare.com/api-next/resources/cache//)
- [@official@Cloudflare API Cache · Cloudflare](https://developers.cloudflare.com/api-next/resources/cache//)
@@ -2,9 +2,9 @@
Caching is a critical aspect of building performant and scalable applications. Cloudflare Workers provide several caching patterns that you can use to optimize your application's performance. These patterns include:
- **Cache-First:** Serve from cache if available, otherwise fetch from origin.
- **Network-First:** Always fetch from origin, caching the response for subsequent requests.
- **Stale-While-Revalidate:** Serve from cache immediately, then update the cache in the background.
* **Cache-First:** Serve from cache if available, otherwise fetch from origin.
* **Network-First:** Always fetch from origin, caching the response for subsequent requests.
* **Stale-While-Revalidate:** Serve from cache immediately, then update the cache in the background.
You can also manipulate HTTP cache headers (Cache-Control, Expires) to control how Cloudflare's CDN caches content. Effective caching is crucial for improving performance and reducing origin server load.
@@ -12,4 +12,4 @@ Visit the following resources to learn more:
- [@official@How the Cache Works · Cloudflare Workers](https://developers.cloudflare.com/workers/reference/how-the-cache-works/)
- [@article@Caching Strategies](https://docs.aws.amazon.com/whitepapers/latest/database-caching-strategies-using-redis/caching-patterns.html)
- [@article@Caching Static and Dynamic Content](https://www.cloudflare.com/learning/cdn/caching-static-and-dynamic-content/)
- [@article@Caching Static and Dynamic Content](https://www.cloudflare.com/learning/cdn/caching-static-and-dynamic-content/)
@@ -2,13 +2,13 @@
Cloudflare Workers allow fine-grained control over caching. You can use the Cache API to store and retrieve responses directly within your Worker, bypassing the origin server. Strategies include:
- **Cache-First:** Serve from cache if available, otherwise fetch from origin.
- **Network-First:** Always fetch from origin, caching the response for subsequent requests.
- **Stale-While-Revalidate:** Serve from cache immediately, then update the cache in the background.
* **Cache-First:** Serve from cache if available, otherwise fetch from origin.
* **Network-First:** Always fetch from origin, caching the response for subsequent requests.
* **Stale-While-Revalidate:** Serve from cache immediately, then update the cache in the background.
You can also manipulate HTTP cache headers (Cache-Control, Expires) to control how Cloudflare's CDN caches content. Effective caching is critical for improving performance and reducing origin server load.
Visit the following resources to learn more:
- [@official@Cache · Cloudflare Workers](https://developers.cloudflare.com/workers/runtime-apis/cache/)
- [@official@How the Cache Works · Cloudflare Workers ](https://developers.cloudflare.com/workers/reference/how-the-cache-works/)
- [@official@How the Cache Works · Cloudflare Workers ](https://developers.cloudflare.com/workers/reference/how-the-cache-works/)
@@ -5,4 +5,4 @@ Cloudflare Calls is a platform for building real-time audio and video applicatio
Visit the following resources to learn more:
- [@official@Cloudflare Calls](https://developers.cloudflare.com/calls/)
- [@official@Introduction · Cloudflare Calls](https://developers.cloudflare.com/calls/introduction/)
- [@official@Introduction · Cloudflare Calls](https://developers.cloudflare.com/calls/introduction/)
@@ -7,4 +7,4 @@ Visit the following resources to learn more:
- [@official@Automate your workflow - Github Actions](https://github.com/features/actions)
- [@official@CI/CD Pipelines - GitLab](https://docs.gitlab.com/ee/ci/pipelines/)
- [@official@Continuous Integration and Delivery - CircleCI](https://circleci.com/)
- [@official@Simple, Flexible, Trustworthy CI/CD Tools - Travis CI](https://www.travis-ci.com/)
- [@official@Simple, Flexible, Trustworthy CI/CD Tools - Travis CI](https://www.travis-ci.com/)
@@ -5,4 +5,4 @@ Dead Letter Queues (DLQs) are an important part of a robust message queuing syst
Visit the following resources to learn more:
- [@article@What is DLQ? - Dead-Letter Queue Explained - AWS](https://aws.amazon.com/what-is/dead-letter-queue/)
- [@article@Dead Letter Queue](https://en.wikipedia.org/wiki/Dead_letter_queue)
- [@article@Dead Letter Queue](https://en.wikipedia.org/wiki/Dead_letter_queue)
@@ -2,11 +2,11 @@
Debugging Cloudflare Workers involves several techniques:
- **Console Logging:** Using `console.log()` to output variables and track code execution.
- **`wrangler tail`:** Viewing real-time logs from your Worker in the command line.
- **Source Maps:** Mapping compiled code back to the original source for easier debugging.
- **Try-Catch Blocks:** Handling errors gracefully and logging relevant information.
- **Local Testing:** Using `wrangler dev` to test Workers locally before deployment.
* **Console Logging:** Using `console.log()` to output variables and track code execution.
* **`wrangler tail`:** Viewing real-time logs from your Worker in the command line.
* **Source Maps:** Mapping compiled code back to the original source for easier debugging.
* **Try-Catch Blocks:** Handling errors gracefully and logging relevant information.
* **Local Testing:** Using `wrangler dev` to test Workers locally before deployment.
These techniques help identify and resolve issues in your Workers effectively.
@@ -14,4 +14,4 @@ Visit the following resources to learn more:
- [@official@Chrome DevTools](https://developer.chrome.com/docs/devtools)
- [@official@Debugging Cloudflare Workers](https://developers.cloudflare.com/workers/playground/#devtools)
- [@article@Debugging Cloudflare Workers](https://blog.cloudflare.com/debugging-cloudflare-workers/)
- [@article@Debugging Cloudflare Workers](https://blog.cloudflare.com/debugging-cloudflare-workers/)
@@ -1,7 +1,7 @@
# Development Tools
- **Wrangler:** The command-line interface (CLI) is your primary tool for interacting with Cloudflare Workers. It handles project creation, local testing, deployment, secret management, and more. Wrangler simplifies the entire development lifecycle.
- **Miniflare:** This local simulator replicates the Cloudflare Workers environment on your machine. It supports features like KV storage, Durable Objects, and the Cache API, enabling offline development and testing.
- **Cloudflare Dashboard:** The web interface provides a visual way to manage your Cloudflare account, configure settings, monitor performance, and view analytics. It's useful for managing DNS, security rules, and other global settings.
- **Workers Playground:** A browser-based environment for experimenting with Workers code. It's ideal for quick prototyping and testing small code snippets without setting up a local development environment.
- **VS Code Extension:** This extension integrates with Visual Studio Code, providing features like syntax highlighting, code completion, and debugging support for Cloudflare Workers. It enhances the development experience within your preferred IDE.
* **Wrangler:** The command-line interface (CLI) is your primary tool for interacting with Cloudflare Workers. It handles project creation, local testing, deployment, secret management, and more. Wrangler simplifies the entire development lifecycle.
* **Miniflare:** This local simulator replicates the Cloudflare Workers environment on your machine. It supports features like KV storage, Durable Objects, and the Cache API, enabling offline development and testing.
* **Cloudflare Dashboard:** The web interface provides a visual way to manage your Cloudflare account, configure settings, monitor performance, and view analytics. It's useful for managing DNS, security rules, and other global settings.
* **Workers Playground:** A browser-based environment for experimenting with Workers code. It's ideal for quick prototyping and testing small code snippets without setting up a local development environment.
* **VS Code Extension:** This extension integrates with Visual Studio Code, providing features like syntax highlighting, code completion, and debugging support for Cloudflare Workers. It enhances the development experience within your preferred IDE.
@@ -5,4 +5,4 @@ Cloudflare Workers can be debugged using standard browser DevTools. When running
Visit the following resources to learn more:
- [@official@Debugging Cloudflare Workers](https://developers.cloudflare.com/workers/playground/#devtools)
- [@official@Chrome DevTools](https://developer.chrome.com/docs/devtools)
- [@official@Chrome DevTools](https://developer.chrome.com/docs/devtools)
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
- [@official@Chrome DevTools](https://developer.chrome.com/docs/devtools)
- [@official@Overview | Chrome DevTools | Chrome for Developers](https://developer.chrome.com/docs/devtools/overview/)
- [@official@Debugging Cloudflare Workers](https://developers.cloudflare.com/workers/playground/#devtools)
- [@official@Debugging Cloudflare Workers](https://developers.cloudflare.com/workers/playground/#devtools)
@@ -5,4 +5,4 @@ Drizzle ORM is a TypeScript ORM (Object-Relational Mapper) that can be used with
Visit the following resources to learn more:
- [@official@Drizzle](https://orm.drizzle.team/)
- [@official@Drizzle Overview](https://orm.drizzle.team/docs/overview)
- [@official@Drizzle Overview](https://orm.drizzle.team/docs/overview)
@@ -4,4 +4,4 @@ Cloudflare Durable Objects provide a strongly consistent, single-actor execution
Visit the following resources to learn more:
- [@official@Cloudflare Durable Objects - Cloudflare Docs](https://developers.cloudflare.com/durable-objects/)
- [@official@Cloudflare Durable Objects - Cloudflare Docs](https://developers.cloudflare.com/durable-objects/)
@@ -4,6 +4,6 @@ Edge computing brings computation closer to the user, minimizing latency. Cloudf
Visit the following resources to learn more:
- [@course@What Is Edge Computing? - Coursera](https://www.udemy.com/course/edge-computing/)
- [@official@What is Edge Computing - Cloudflare Docs](https://www.cloudflare.com/learning/serverless/glossary/what-is-edge-computing/)
- [@article@What is Edge Computing? Is It More Than a Buzzword?](https://www.howtogeek.com/devops/what-is-edge-computing-is-it-more-than-a-buzzword/)
- [@course@What Is Edge Computing? - Coursera](https://www.udemy.com/course/edge-computing/)
- [@article@What is Edge Computing? Is It More Than a Buzzword?](https://www.howtogeek.com/devops/what-is-edge-computing-is-it-more-than-a-buzzword/)
@@ -2,13 +2,13 @@
Cloudflare's Edge SSL/TLS terminates SSL/TLS connections at Cloudflare's edge network, close to the user. This reduces latency and improves performance compared to terminating connections at the origin server. Cloudflare offers various SSL/TLS options, including:
- **Universal SSL:** Free SSL certificates for all Cloudflare users.
- **Dedicated SSL:** Custom SSL certificates for specific domains.
- **Origin CA:** Free certificates for securing communication between Cloudflare and your origin.
* **Universal SSL:** Free SSL certificates for all Cloudflare users.
* **Dedicated SSL:** Custom SSL certificates for specific domains.
* **Origin CA:** Free certificates for securing communication between Cloudflare and your origin.
Edge SSL/TLS ensures secure communication between users and your website while optimizing performance.
Visit the following resources to learn more:
- [@official@Get Started with SSL/TLS - Cloudflare Docs](https://developers.cloudflare.com/ssl/get-started/)
- [@official@Edge Certificates · Cloudflare SSL/TLS](https://developers.cloudflare.com/ssl/edge-certificates/)
- [@official@Edge Certificates · Cloudflare SSL/TLS](https://developers.cloudflare.com/ssl/edge-certificates/)
@@ -2,12 +2,12 @@
Cloudflare Workers are well-suited for event-driven architectures. You can trigger Workers based on various events, such as:
- Incoming HTTP requests
- Scheduled tasks (using Cron Triggers)
- Webhooks from external services
* Incoming HTTP requests
* Scheduled tasks (using Cron Triggers)
* Webhooks from external services
This allows you to build reactive systems that respond to events in real-time. Workers can process events and trigger other actions, creating a chain reaction that automates complex tasks.
Visit the following resources to learn more:
- [@article@What Is Event-Driven Architecture? - IBM](https://www.ibm.com/think/topics/event-driven-architecture)
- [@article@What Is Event-Driven Architecture? - IBM](https://www.ibm.com/think/topics/event-driven-architecture)
@@ -2,13 +2,13 @@
Cloudflare Workers can integrate with external APIs to enrich functionality. You can use fetch() within a Worker to make requests to third-party services. This enables you to:
- Retrieve data from external sources.
- Send data to external systems.
- Authenticate with external services using API keys or tokens.
* Retrieve data from external sources.
* Send data to external systems.
* Authenticate with external services using API keys or tokens.
Integrating with external APIs allows you to build powerful applications that leverage the capabilities of other platforms.
Visit the following resources to learn more:
- [@official@APIs · Cloudflare Workers](https://developers.cloudflare.com/workers/configuration/integrations/apis/)
- [@official@External Services · Cloudflare Workers](https://developers.cloudflare.com/workers/configuration/integrations/external-services/)
- [@official@External Services · Cloudflare Workers](https://developers.cloudflare.com/workers/configuration/integrations/external-services/)
@@ -5,4 +5,4 @@ Within Cloudflare Workers, the Fetch API is your primary tool for making HTTP re
Visit the following resources to learn more:
- [@official@Fetch API in Workers](https://developers.cloudflare.com/workers/runtime-apis/fetch)
- [@article@Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
- [@article@Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
@@ -2,14 +2,14 @@
In Cloudflare Email Workers, filtering is the process of selectively acting on emails based on specific criteria. It allows you to define rules that determine which emails your worker will process and how. Filtering can be based on various email attributes, including:
- **Sender/Recipient:** Matching specific email addresses or domains.
- **Subject Line:** Looking for keywords or patterns in the subject.
- **Headers:** Examining specific header values.
- **Content:** Analyzing the email body for certain keywords.
* **Sender/Recipient:** Matching specific email addresses or domains.
* **Subject Line:** Looking for keywords or patterns in the subject.
* **Headers:** Examining specific header values.
* **Content:** Analyzing the email body for certain keywords.
By implementing filtering, you can ensure that your worker only processes relevant emails, optimizing performance and preventing unintended actions on unrelated messages.
Visit the following resources to learn more:
- [@official@Email Workers · Cloudflare Email Routing](https://developers.cloudflare.com/email-routing/email-workers/)
- [@article@Implementing an Email Delivery Service with Cloudflare Workers](https://medium.com/@georgechmr/implementing-an-email-delivery-service-with-cloudflare-workers-c141422109d0)
- [@article@Implementing an Email Delivery Service with Cloudflare Workers](https://medium.com/@georgechmr/implementing-an-email-delivery-service-with-cloudflare-workers-c141422109d0)
@@ -2,12 +2,12 @@
Hono is a small, simple and ultra-fast web framework built on web standards. It works on any JavaScript runtime: Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Netlify, AWS Lambda, Lambda@Edge, and Node.js. Hono is more known for supporting a lot more than the basics.
Hono is a simple web application framework similar to the well known javascript framework Express, without a frontend. But it runs on CDN Edges and allows you to construct larger applications when combined with middleware.
Hono is a simple web application framework similar to the well known javascript framework Express, without a frontend. But it runs on CDN Edges and allows you to construct larger applications when combined with middleware.
Visit the following resources to learn more:
- [@official@Hono Documentation](https://hono.dev/docs/)
- [@article@Hono.js: A Small Framework with Big Potential](https://medium.com/@appvintechnologies/hono-js-a-small-framework-with-big-potential-15a093fc5c07)
- [@opensource@Hono JS Examples](https://github.com/honojs/examples)
- [@article@Hono.js: A Small Framework with Big Potential](https://medium.com/@appvintechnologies/hono-js-a-small-framework-with-big-potential-15a093fc5c07)
- [@article@Quick Start with Hono: Simple Setup Guide](https://dev.to/koshirok096/quick-start-with-hono-simple-setup-guide-bite-sized-article-lhe)
- [@video@Hono JS Tutorial](https://www.youtube.com/watch?v=gY-TK33G6kQ)
- [@video@Hono JS Tutorial](https://www.youtube.com/watch?v=gY-TK33G6kQ)
@@ -2,14 +2,14 @@
HTML rewriting with Cloudflare Workers enables you to modify HTML content on the fly. You can use Workers to parse HTML, manipulate elements, and inject new content. Common use cases include:
- A/B testing: Dynamically changing content for different users.
- Personalization: Tailoring the HTML based on user characteristics.
- Content injection: Adding analytics scripts or ads.
- Security enhancements: Removing potentially harmful code.
* A/B testing: Dynamically changing content for different users.
* Personalization: Tailoring the HTML based on user characteristics.
* Content injection: Adding analytics scripts or ads.
* Security enhancements: Removing potentially harmful code.
HTML rewriting allows you to customize the user experience and optimize your website without modifying the origin server.
Visit the following resources to learn more:
- [@official@HTMLRewriter · Cloudflare Workers](https://developers.cloudflare.com/workers/runtime-apis/html-rewriter/)
- [@official@Introducing the HTMLRewriter API to Cloudflare Workers](https://blog.cloudflare.com/introducing-htmlrewriter/)
- [@official@Introducing the HTMLRewriter API to Cloudflare Workers](https://blog.cloudflare.com/introducing-htmlrewriter/)
@@ -2,14 +2,14 @@
Workers AI allows you to run AI models directly within Cloudflare Workers, enabling powerful image processing capabilities at the edge. You can use Workers AI to perform tasks such as:
- Image recognition
- Object detection
- Image classification
- Image resizing and optimization
* Image recognition
* Object detection
* Image classification
* Image resizing and optimization
This allows you to build intelligent applications that analyze and manipulate images in real-time, close to the user.
Visit the following resources to learn more:
- [@official@How to Build an Image Generator using Workers AI](https://developers.cloudflare.com/workers-ai/tutorials/image-generation-playground/)
- [@official@Get Started with Cloudflare Images](https://developers.cloudflare.com/images/get-started/)
- [@official@Get Started with Cloudflare Images](https://developers.cloudflare.com/images/get-started/)
@@ -5,4 +5,4 @@ Cloudflare Images provides comprehensive image optimization and delivery service
Visit the following resources to learn more:
- [@official@Images · Cloudflare Docs](https://developers.cloudflare.com/images/)
- [@official@Get Started with Cloudflare Images](https://developers.cloudflare.com/images/get-started/)
- [@official@Get Started with Cloudflare Images](https://developers.cloudflare.com/images/get-started/)
@@ -2,10 +2,10 @@
Workflows refers to the automated processes you can create to manage and respond to various events or conditions. This often involves chaining together different Cloudflare features and potentially integrating with external services. Workflows enable you to automate tasks such as:
- Responding to security threats
- Optimizing website performance
- Managing user access
- Enforcing compliance policies
* Responding to security threats
* Optimizing website performance
* Managing user access
* Enforcing compliance policies
Cloudflare's strength lies in its ability to integrate various services and create automated workflows. You can connect Cloudflare with external platforms using webhooks or APIs. Workflows can automate tasks like responding to security events, optimizing performance based on real-time data, or managing user access. By integrating different components, you can build complex and efficient systems that leverage Cloudflare's global network.
@@ -13,4 +13,4 @@ Visit the following resources to learn more:
- [@official@CI/CD · Cloudflare Workers](https://developers.cloudflare.com/workers/ci-cd/)
- [@official@Cloudflare Workflows](https://developers.cloudflare.com/workflows/)
- [@official@Workers Builds: Integrated CI/CD built on the Workers platform](https://blog.cloudflare.com/workers-builds-integrated-ci-cd-built-on-the-workers-platform/)
- [@official@Workers Builds: Integrated CI/CD built on the Workers platform](https://blog.cloudflare.com/workers-builds-integrated-ci-cd-built-on-the-workers-platform/)
@@ -2,9 +2,9 @@
Inter-Worker communication enables different Cloudflare Workers to interact and share data. This can be achieved through:
- **Durable Objects:** Workers can share persistent data and coordinate state using Durable Objects.
- **KV Storage:** Workers can read and write data to a shared KV namespace.
- **Webhooks:** One Worker can trigger another by sending a webhook request.
* **Durable Objects:** Workers can share persistent data and coordinate state using Durable Objects.
* **KV Storage:** Workers can read and write data to a shared KV namespace.
* **Webhooks:** One Worker can trigger another by sending a webhook request.
These methods allow you to build complex applications where different Workers handle specific tasks and collaborate to achieve a common goal.
@@ -5,4 +5,4 @@ Cloudflare's isolated architecture for Workers relies on lightweight V8 isolates
Visit the following resources to learn more:
- [@official@Reference Architectures · Cloudflare Reference Architecture](https://developers.cloudflare.com/reference-architecture/)
- [@official@Cloudflare Security Architecture](https://developers.cloudflare.com/reference-architecture/architectures/security/)
- [@official@Cloudflare Security Architecture](https://developers.cloudflare.com/reference-architecture/architectures/security/)
@@ -2,10 +2,10 @@
Handling large files on Cloudflare requires strategies to avoid exceeding size limits and ensure efficient delivery. Techniques include:
- **Streaming:** Processing files in chunks to reduce memory usage.
- **Range Requests:** Serving only the requested portion of a file.
- **Cloudflare Stream:** Using Cloudflare's video streaming service for large video files.
- **R2 integration:** Storing large files in R2 and serving them via Workers.
* **Streaming:** Processing files in chunks to reduce memory usage.
* **Range Requests:** Serving only the requested portion of a file.
* **Cloudflare Stream:** Using Cloudflare's video streaming service for large video files.
* **R2 integration:** Storing large files in R2 and serving them via Workers.
These methods allow you to handle large files effectively while leveraging Cloudflare's global network.
@@ -4,5 +4,5 @@ Effective logging and monitoring are crucial for understanding and debugging Clo
Visit the following resources to learn more:
- [@article@Logging vs Monitoring: What's the Difference?](https://toxigon.com/logging-vs-monitoring-whats-the-difference)
- [@official@Debugging and Logging · Cloudflare Pages](https://developers.cloudflare.com/pages/functions/debugging-and-logging/)
- [@official@Debugging and Logging · Cloudflare Pages](https://developers.cloudflare.com/pages/functions/debugging-and-logging/)
- [@article@Logging vs Monitoring: What's the Difference?](https://toxigon.com/logging-vs-monitoring-whats-the-difference)
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
- [@official@Cloudflare Queues · Cloudflare Queues](https://developers.cloudflare.com/queues/)
- [@official@How Does Queues Work?](https://developers.cloudflare.com/queues/reference/how-queues-works/)
- [@article@Difference Between Stream Processing and Message Processing](https://stackoverflow.com/questions/41744506/difference-between-stream-processing-and-message-processing)
- [@article@Difference Between Stream Processing and Message Processing](https://stackoverflow.com/questions/41744506/difference-between-stream-processing-and-message-processing)
@@ -2,10 +2,10 @@
Monitoring tools provide insights into the performance and health of your Cloudflare applications. Cloudflare offers built-in analytics, but you can also integrate with external monitoring services like Datadog, New Relic, or Prometheus. These tools allow you to track metrics such as:
- Request latency
- Error rates
- Cache hit ratio
- Resource usage
* Request latency
* Error rates
* Cache hit ratio
* Resource usage
By monitoring these metrics, you can identify performance bottlenecks, detect security threats, and ensure your applications are running smoothly.
@@ -4,4 +4,4 @@ Pages Functions, (now part of Cloudflare Functions), allow you to run serverless
Visit the following resources to learn more:
- [@official@Functions · Cloudflare Pages](https://developers.cloudflare.com/pages/functions/)
- [@official@Functions · Cloudflare Pages](https://developers.cloudflare.com/pages/functions/)
@@ -2,10 +2,10 @@
With Cloudflare Email Workers, processing involves manipulating or analyzing incoming email content. After an email is routed to your worker, you can access and modify various aspects of the email, such as headers, body, and attachments. Processing can include tasks like:
- **Content Modification:** Altering the email body, adding disclaimers, or translating content.
- **Data Extraction:** Parsing information from the email to use in other applications.
- **Spam Filtering:** Implementing custom spam detection logic.
- **Attachment Handling:** Processing or storing attachments.
* **Content Modification:** Altering the email body, adding disclaimers, or translating content.
* **Data Extraction:** Parsing information from the email to use in other applications.
* **Spam Filtering:** Implementing custom spam detection logic.
* **Attachment Handling:** Processing or storing attachments.
Email Workers provide the flexibility to customize how emails are handled, enabling a wide range of email-based applications and integrations.
@@ -2,12 +2,12 @@
Optimizing your SQL queries is crucial for achieving good performance with Cloudflare D1, especially as your database grows. D1 leverages SQLite's query optimizer, which automatically attempts to find the most efficient way to execute your queries. However, you can significantly improve performance by following best practices:
- **Use Indexes:** Indexes are essential for speeding up queries that filter or sort data. Create indexes on columns that are frequently used in `WHERE` clauses, `JOIN` conditions, and `ORDER BY` clauses.
- **Avoid Full Table Scans:** Full table scans can be slow, especially on large tables. Ensure your queries are using indexes to narrow down the number of rows that need to be examined.
- **Write Efficient SQL:** Use appropriate `JOIN` types, avoid using `SELECT *` (specify the columns you need), and use `WHERE` clauses to filter data as early as possible.
- **Analyze Query Performance:** Use SQLite's `EXPLAIN QUERY PLAN` command to analyze how your queries are being executed. This can help you identify potential bottlenecks and areas for improvement.
- **Consider Denormalization:** In some cases, denormalizing your database schema (adding redundant data to avoid joins) can improve query performance, but it comes at the cost of increased storage space and potential data inconsistencies. Weigh the trade-offs carefully.
* **Use Indexes:** Indexes are essential for speeding up queries that filter or sort data. Create indexes on columns that are frequently used in `WHERE` clauses, `JOIN` conditions, and `ORDER BY` clauses.
* **Avoid Full Table Scans:** Full table scans can be slow, especially on large tables. Ensure your queries are using indexes to narrow down the number of rows that need to be examined.
* **Write Efficient SQL:** Use appropriate `JOIN` types, avoid using `SELECT *` (specify the columns you need), and use `WHERE` clauses to filter data as early as possible.
* **Analyze Query Performance:** Use SQLite's `EXPLAIN QUERY PLAN` command to analyze how your queries are being executed. This can help you identify potential bottlenecks and areas for improvement.
* **Consider Denormalization:** In some cases, denormalizing your database schema (adding redundant data to avoid joins) can improve query performance, but it comes at the cost of increased storage space and potential data inconsistencies. Weigh the trade-offs carefully.
Visit the following resources to learn more:
- [@official@Query Parameters and Cached Responses](https://developers.cloudflare.com/automatic-platform-optimization/reference/query-parameters/)
- [@official@Query Parameters and Cached Responses](https://developers.cloudflare.com/automatic-platform-optimization/reference/query-parameters/)
@@ -5,4 +5,4 @@ Cloudflare Queues is a message queuing service that allows you to decouple diffe
Visit the following resources to learn more:
- [@official@Cloudflare Queues · Cloudflare Queues](https://developers.cloudflare.com/queues/)
- [@official@How Does Queues Work?](https://developers.cloudflare.com/queues/reference/how-queues-works/)
- [@official@How Does Queues Work?](https://developers.cloudflare.com/queues/reference/how-queues-works/)
@@ -5,4 +5,4 @@ Cloudflare R2 Storage is a distributed object storage service that offers fast,
Visit the following resources to learn more:
- [@official@Cloudflare R2 | Zero Egress Fee Object Storage](https://www.cloudflare.com/developer-platform/products/r2/)
- [@official@Cloudflare R2 Documentation](https://developers.cloudflare.com/r2/)
- [@official@Cloudflare R2 Documentation](https://developers.cloudflare.com/r2/)
@@ -5,4 +5,4 @@ Cloudflare Queues can be used to implement rate limiting. Instead of directly pr
Visit the following resources to learn more:
- [@official@Cloudflare Queues - Queues & Rate Limits](https://developers.cloudflare.com/queues/tutorials/handle-rate-limits/)
- [@official@Rate Limiting Best Practices - Cloudflare Docs](https://developers.cloudflare.com/waf/rate-limiting-rules/best-practices/)
- [@official@Rate Limiting Best Practices - Cloudflare Docs](https://developers.cloudflare.com/waf/rate-limiting-rules/best-practices/)
@@ -5,4 +5,4 @@ Cloudflare Queues can be used to implement rate limiting. Instead of directly pr
Visit the following resources to learn more:
- [@official@Cloudflare Queues - Queues & Rate Limits](https://developers.cloudflare.com/queues/tutorials/handle-rate-limits/)
- [@official@Rate Limiting Best Practices - Cloudflare Docs](https://developers.cloudflare.com/waf/rate-limiting-rules/best-practices/)
- [@official@Rate Limiting Best Practices - Cloudflare Docs](https://developers.cloudflare.com/waf/rate-limiting-rules/best-practices/)
@@ -5,4 +5,4 @@ Cloudflare Workers excel at intercepting and modifying HTTP requests and respons
Visit the following resources to learn more:
- [@official@Request and Response](https://developers.cloudflare.com/workers/runtime-apis/request)
- [@article@Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
- [@article@Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
@@ -4,4 +4,4 @@ In Cloudflare Email Workers, routing refers to directing incoming emails to the
Visit the following resources to learn more:
- [@official@Email Workers · Cloudflare Email Routing](https://developers.cloudflare.com/email-routing/email-workers/)
- [@official@Email Workers · Cloudflare Email Routing](https://developers.cloudflare.com/email-routing/email-workers/)
@@ -4,17 +4,17 @@ Cloudflare significantly enhances both security and performance through its glob
**Security:** Cloudflare Email Workers can enhance email security by:
- **Spam and Phishing Detection:** Implementing custom filters to identify and block malicious emails before they reach the recipient.
- **Content Sanitization:** Removing potentially harmful content from emails, such as malicious scripts or links.
- **Authentication:** Verifying sender authenticity to prevent spoofing and phishing attacks.
- **Data Loss Prevention (DLP):** Preventing sensitive information from being sent via email.
* **Spam and Phishing Detection:** Implementing custom filters to identify and block malicious emails before they reach the recipient.
* **Content Sanitization:** Removing potentially harmful content from emails, such as malicious scripts or links.
* **Authentication:** Verifying sender authenticity to prevent spoofing and phishing attacks.
* **Data Loss Prevention (DLP):** Preventing sensitive information from being sent via email.
**Performance:** Email Workers impact performance by:
- **Reduced Latency:** Processing emails closer to the user, minimizing delays.
- **Scalability:** Handling large volumes of email traffic without performance degradation.
- **Custom Routing:** Efficiently directing emails to the appropriate destination.
- **Optimized Processing:** Performing lightweight email processing tasks to avoid bottlenecks.
* **Reduced Latency:** Processing emails closer to the user, minimizing delays.
* **Scalability:** Handling large volumes of email traffic without performance degradation.
* **Custom Routing:** Efficiently directing emails to the appropriate destination.
* **Optimized Processing:** Performing lightweight email processing tasks to avoid bottlenecks.
Effectively leveraging Email Workers for security and performance requires careful planning and implementation of relevant filters, rules, and processing logic.
@@ -4,4 +4,4 @@ Service Bindings allow Cloudflare Workers to seamlessly integrate with other Clo
Visit the following resources to learn more:
- [@official@Service Bindings · Cloudflare](https://developers.cloudflare.com/workers/platform/service-bindings/)
- [@official@Service Bindings · Cloudflare](https://developers.cloudflare.com/workers/platform/service-bindings/)
@@ -5,4 +5,4 @@ Service Bindings allow Cloudflare Workers to seamlessly integrate with other Clo
Visit the following resources to learn more:
- [@official@Service Bindings - Runtime APIs](https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/)
- [@official@Service Bindings · Cloudflare](https://developers.cloudflare.com/workers/platform/service-bindings/)
- [@official@Service Bindings · Cloudflare](https://developers.cloudflare.com/workers/platform/service-bindings/)
@@ -0,0 +1,7 @@
# Speech Recognition
You can use Workers AI to run speech-to-text models directly on Cloudflare's edge network, enabling real-time transcription of audio data. This can be useful for applications like voice search, voice commands, and live captioning.
Visit the following resources to learn more:
- [@official@Whisper - Cloudflare Workers AI](https://developers.cloudflare.com/workers-ai/models/whisper/)
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
- [@official@Testing - Cloudflare Workers Docs](https://developers.cloudflare.com/workers/testing/)
- [@article@Jest - Delightful JavaScript Testing](https://jestjs.io/)
- [@article@Vitest - A Fast JavaScript Test Runner](https://vitest.dev/)
- [@article@Vitest - A Fast JavaScript Test Runner](https://vitest.dev/)
@@ -5,4 +5,4 @@ Workers AI allows you to perform text generation tasks directly on Cloudflare's
Visit the following resources to learn more:
- [@official@Choose the Right Text Generation Model](https://developers.cloudflare.com/workers-ai/tutorials/how-to-choose-the-right-text-generation-model/)
- [@official@Prompting · Cloudflare Workers AI](https://developers.cloudflare.com/workers-ai/guides/prompting/)
- [@official@Prompting · Cloudflare Workers AI](https://developers.cloudflare.com/workers-ai/guides/prompting/)
@@ -5,4 +5,4 @@ Durable Objects support transactional operations. You can perform multiple opera
Visit the following resources to learn more:
- [@official@Durable Object Storage · Cloudflare Durable Objects](https://developers.cloudflare.com/durable-objects/api/storage-api/)
- [@official@Transactional Storage · Cloudflare Durable Objects](https://developers.cloudflare.com:2096/durable-objects/api/transactional-storage-api/)
- [@official@Transactional Storage · Cloudflare Durable Objects](https://developers.cloudflare.com:2096/durable-objects/api/transactional-storage-api/)
@@ -5,4 +5,4 @@ Cloudflare Tunnel creates a secure, outbound-only connection between your origin
Visit the following resources to learn more:
- [@official@Cloudflare Tunnel · Cloudflare Zero Trust](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/)
- [@official@Ridiculously easy to use Tunnels - The Cloudflare Blog](https://blog.cloudflare.com/ridiculously-easy-to-use-tunnels/)
- [@official@Ridiculously easy to use Tunnels - The Cloudflare Blog](https://blog.cloudflare.com/ridiculously-easy-to-use-tunnels/)
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
- [@roadmap@Visit Dedicated TypeScript Roadmap](https://roadmap.sh/typescript)
- [@official@TypeScript Documentation](https://www.typescriptlang.org/docs/)
- [@official@TypeScript Handbook](https://www.typescriptlang.org/docs/handbook/)
- [@official@TypeScript Handbook](https://www.typescriptlang.org/docs/handbook/)
@@ -5,4 +5,4 @@ Serverless architecture allows you to run code without managing servers, and Clo
Visit the following resources to learn more:
- [@article@What is Serverless Architecture?](https://cloud.google.com/discover/what-is-serverless-architecture)
- [@article@What is Serverless Computing? - Serverless Computing Explain@](https://aws.amazon.com/what-is/serverless-computing/)
- [@article@What is Serverless Computing? - Serverless Computing Explain@](https://aws.amazon.com/what-is/serverless-computing/)
@@ -5,4 +5,4 @@ Cloudflare Vectorize allows you to store and query high-dimensional vectors, oft
Visit the following resources to learn more:
- [@official@Vector Database - Cloudflare Docs](https://developers.cloudflare.com/vectorize/reference/what-is-a-vector-database/)
- [@official@Cloudflare Vectorize](https://developers.cloudflare.com/vectorize/)
- [@official@Cloudflare Vectorize](https://developers.cloudflare.com/vectorize/)
@@ -5,4 +5,4 @@ Cloudflare Vectorize is a vector database that lets you store and query high-dim
Visit the following resources to learn more:
- [@official@Introduction to Vectorize - Cloudflare Docs](https://developers.cloudflare.com/vectorize/get-started/intro/)
- [@official@Cloudflare Vectorize](https://developers.cloudflare.com/vectorize/)
- [@official@Cloudflare Vectorize](https://developers.cloudflare.com/vectorize/)
@@ -2,10 +2,10 @@
Cloudflare Stream provides a comprehensive solution for video delivery:
- **Encoding:** Automatically encodes videos for different devices and bandwidths.
- **Storage:** Stores your videos securely.
- **CDN:** Delivers videos globally via Cloudflare's CDN for fast playback.
- **Player:** Provides a customizable video player.
* **Encoding:** Automatically encodes videos for different devices and bandwidths.
* **Storage:** Stores your videos securely.
* **CDN:** Delivers videos globally via Cloudflare's CDN for fast playback.
* **Player:** Provides a customizable video player.
This simplifies the process of delivering high-quality video experiences.
@@ -13,4 +13,4 @@ Visit the following resources to learn more:
- [@official@Delivering Videos with Cloudflare](https://developers.cloudflare.com/support/more-dashboard-apps/cloudflare-stream/delivering-videos-with-cloudflare/)
- [@official@Stream Delivery - Cloudflare Stream](https://www.cloudflare.com/application-services/solutions/stream-delivery/)
- [@official@Cloudflare Stream - Cloudflare](https://www.cloudflare.com/developer-platform/products/cloudflare-stream/)
- [@official@Cloudflare Stream - Cloudflare](https://www.cloudflare.com/developer-platform/products/cloudflare-stream/)
@@ -2,8 +2,8 @@
Cloudflare offers video processing capabilities through Stream and Workers:
- **Stream:** Handles encoding, transcoding, and adaptive bitrate streaming automatically.
- **Workers:** You can use Workers to intercept video requests and perform custom processing, such as adding watermarks or modifying metadata.
* **Stream:** Handles encoding, transcoding, and adaptive bitrate streaming automatically.
* **Workers:** You can use Workers to intercept video requests and perform custom processing, such as adding watermarks or modifying metadata.
This allows you to customize your video delivery pipeline.
@@ -2,11 +2,11 @@
Web security headers are HTTP response headers that enhance website security. Cloudflare allows you to easily configure these headers to protect against common attacks. Key headers include:
- **Content Security Policy (CSP):** Controls resources the browser can load.
- **Strict-Transport-Security (HSTS):** Enforces HTTPS connections.
- **X-Frame-Options:** Prevents clickjacking attacks.
- **X-XSS-Protection:** Enables XSS filtering in browsers.
- **Referrer-Policy:** Controls referrer information sent with requests.
* **Content Security Policy (CSP):** Controls resources the browser can load.
* **Strict-Transport-Security (HSTS):** Enforces HTTPS connections.
* **X-Frame-Options:** Prevents clickjacking attacks.
* **X-XSS-Protection:** Enables XSS filtering in browsers.
* **Referrer-Policy:** Controls referrer information sent with requests.
Cloudflare simplifies setting these headers, improving website security with minimal effort.
@@ -4,4 +4,4 @@ Cloudflare can handle webhooks to trigger actions based on external events. You
Visit the following resources to learn more:
- [@official@Configure Webhooks - Cloudflare](https://developers.cloudflare.com/notifications/get-started/configure-webhooks/)
- [@official@Configure Webhooks - Cloudflare](https://developers.cloudflare.com/notifications/get-started/configure-webhooks/)
@@ -2,15 +2,15 @@
`Wrangler` is the command-line interface (CLI) for Cloudflare Workers. It simplifies the process of developing, testing, and deploying Workers. With `wrangler`, you can:
- Create new Worker projects.
- Develop Workers locally.
- Deploy Workers to Cloudflare.
- Manage secrets and environment variables.
- Configure bindings to other Cloudflare services.
* Create new Worker projects.
* Develop Workers locally.
* Deploy Workers to Cloudflare.
* Manage secrets and environment variables.
* Configure bindings to other Cloudflare services.
`Wrangler` streamlines the entire Workers workflow, making it an essential tool for any Cloudflare Workers developer.
Visit the following resources to learn more:
- [@official@Wrangler Documentation](https://developers.cloudflare.com/workers/wrangler/)
- [@official@Wrangler Commands](https://developers.cloudflare.com/workers/wrangler/commands//)
- [@official@Wrangler Commands](https://developers.cloudflare.com/workers/wrangler/commands//)
@@ -5,4 +5,4 @@ Wrangler is the command-line interface (CLI) tool for building, deploying, and m
Visit the following resources to learn more:
- [@official@Wrangler Documentation](https://developers.cloudflare.com/workers/wrangler/)
- [@official@Wrangler Commands](https://developers.cloudflare.com/workers/wrangler/commands//)
- [@official@Wrangler Commands](https://developers.cloudflare.com/workers/wrangler/commands//)