From dc002b24c30ed88ca02265598f3cafd30ca843ef Mon Sep 17 00:00:00 2001 From: Thanan Traiongthawon <95660+nullcoder@users.noreply.github.com> Date: Sat, 7 Jun 2025 16:00:22 -0700 Subject: [PATCH] feat: enable smart placement for optimal global performance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add smart placement configuration to automatically optimize Worker execution location based on traffic patterns and R2 bucket proximity. This reduces latency and improves user experience worldwide. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- wrangler.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wrangler.toml b/wrangler.toml index 755dae3..a9039d3 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -3,6 +3,10 @@ main = ".open-next/worker.js" compatibility_date = "2024-12-01" compatibility_flags = ["nodejs_compat"] +# Smart placement for optimized global performance +[placement] +mode = "smart" + # Custom domain [[routes]] pattern = "ghostpaste.dev"