■ Cloudflare Edge Engineering · Full Surface

■ Talk to the lead architect
Ritesh Agarwal · Lead Architect, Appycodes · LinkedIn
■ What you get
Not an exhaustive list of Cloudflare products. Only the ones we use in production today and can recommend with a war story attached.
01
Off S3, DO Spaces, or origin disk. Cost-modelled before the move. Standalone PHP / Node migration scripts that don't load the host CMS so they survive plugin / package conflicts.
02
A/B testing, personalisation, header rewrites, geo-aware redirects, signed-URL gates, simple auth. Code that runs in 270+ POPs without thinking about it.
03
Single Redirect Rules on Business+, Bulk Redirects from exported sitemaps (up to 100K), wildcard fallbacks via wildcard_replace. Layered for ambiguous shapes.
04
Country allowlists. ASN blocking. Bot management with Managed Challenge tuning. Rate limiting that bites attackers, not Googlebot. We test under Managed Challenge before flipping to Block.
05
What to cache at the edge, what to bypass, how to invalidate. Tuned for WordPress, WooCommerce, and Laravel apps where pages and APIs cache very differently.
06
Static and Next.js sites where the build pipeline fits. Custom builds with Workers in front. Branch previews, custom domains, the boring deployment plumbing.
▼ The Egress Cost Curve
Monthly cost ($) for 100 GB stored across S3 (eu-west-2), DigitalOcean Spaces (lon1), and Cloudflare R2 — plotted against outbound egress (TB / month). R2's zero-egress pricing produces the sharp divergence at the right.
R2 stays flat because egress is zero. The other two scale linearly with outbound traffic.
■ Evidence
R2 + Forge migration
Migrated media from a Forge-hosted WordPress site to Cloudflare R2 (S3-compatible, endpoint https://<account-id>.r2.cloudflarestorage.com).
Interesting part wasn't the migration — it was sidestepping plugin Guzzle conflicts. AutomateWoo and others bundle their own Guzzle; the bundled versions disagree. Solution: don't load WordPress in the migration script. Standalone PHP, AWS SDK via Composer in a separate vendor tree, credentials in a dedicated r2-config.php with chmod 600, off-VCS.
Recurring monthly cron sync uses the same WP-free script pattern so it survives plugin updates.
# r2-config.php (chmod 600, off-VCS) $config = [ 'endpoint' => 'https://<id>.r2.cloudflarestorage.com', 'region' => 'auto', 'credentials' => [ ... ], ];
Redirect rules at the edge
Magento → Shopify migration with ambiguous URL shapes the platform couldn't resolve. Wildcards via wildcard_replace on Free/Pro plans (no regex), regex Single Redirect Rules on Business+, layered with explicit per-URL overrides.
Long-term: Cloudflare Bulk Redirects driven by an exported sitemap CSV. Wildcard rules retained as fallback. Client name changed due to confidentiality — whitelabel engagement.
# regex Single Redirect Rule
when (http.request.uri.path matches "^/[^/]+\.htmlquot;)
then concat("/products", regex_replace(
http.request.uri.path, "\.htmlquot;, ""))WAF · geo · bot defence
nginx upstream timeouts caused by Hetzner Cloud bots hammering specific paths. Built the Cloudflare WAF rule using an allowlist approach (not ip.src.country in {GB IE FR DE NL ...}) rather than enumerating every country to block.
Carved out India, Pakistan, and the US — necessary for our own developers and search engine crawlers. Added cf.client.bot to ensure verified Googlebot bypasses geo restrictions. Deployed first under Managed Challenge to monitor Firewall Events for false positives, switched to Block once clean.
# Cloudflare WAF expression
(not ip.src.country in {"GB" "IE" "FR" "DE" "NL" "IN" "PK" "US"})
and not cf.client.botPaired engagements: Shopify migration (the rules above), WordPress security (the WAF tuning), maintenance & support for the ongoing edge tuning.
■ Good fit if
■ Probably not a fit
■ Surface we operate on
■ If Cloudflare is on but only as DNS
■ Other services
Explore the rest of what we build.
MVP to production builds, multi-tenant, billing, AI features.
Learn moreiOS + Android in one codebase. Push, offline, OTA updates.
Learn moreConvert your Lovable / Claude / Bolt web app to React Native or Flutter — backend reused.
Learn morePrerender, schema, Core Web Vitals — engineering-led SEO.
Learn moreB2B marketplaces, membership sites, headless WordPress.
Learn moreCustom themes, migration to Shopify, Shopify apps, supplier-feed automation.
Learn moreB2B wholesale, high-SKU catalogues, WooCommerce Subscriptions, Shopify-to-Woo migrations.
Learn morePost-launch stability, security, monthly improvements.
Learn moreTake an AI-built prototype to a production-ready product.
Learn moreConvert AI-built web prototypes into native mobile apps.
Learn moreSubmit, configure and optimise for App Store + Play Store.
Learn moreModernise legacy systems with zero-downtime migrations.
Learn moreEngineering capacity for agencies, under your brand.
Learn moreFrom idea to live product — design, build, launch, growth.
Learn moreCustom REST/GraphQL APIs and third-party integrations.
Learn moreMulti-tenant AI SaaS with subscriptions and admin dashboards.
Learn moreMarketplaces with credit, KYC, and trust infrastructure baked in.
Learn moreCustomised Moodle deployments and bespoke Moodle mobile apps.
Learn moreSubscription recovery, dunning, migrations, combinatorial billing matrices.
Learn moreMagento, WordPress, BigCommerce → Shopify. Redirect-engineering first.
Learn moreForensic incident response — Magecart, backdoors, DDoS, GDPR Art. 33.
Learn moreFour production Laravel platforms. ERPs, contracts, tendering.
Learn moreWebhooks, metering, proration, dunning, multi-currency, reconciliation.
Learn moreTender automation, contract operations, compliance calendars, calculators.
Learn moreRLS, multi-role auth, production-hardening Lovable / Bolt / v0 prototypes.
Learn moreWP + Next.js with preview, ISR, auth handoff, media pipeline, search.
Learn moreSchema-first builds, multilingual setups, migrations from WP / Contentful / Strapi.
Learn moreFour production Vue platforms. Vue + Laravel as the default pairing.
Learn morenginx, PHP-FPM, slow-query analysis, plugin audit. Diagnostic engineering, not plugin installs.
Learn moreSurgical plugin work — namespaced, idempotent, version-controlled. Not functions.php.
Learn moreKB + forum + adjacent surfaces. Search, version-aware routing, role-based visibility.
Learn moreMulti-day festivals, white-label venue groups, offline-capable door-staff apps.
Learn moreProduction RAG with chunking, hybrid retrieval, reranking, grounding, eval.
Learn moreMake.com, n8n, Zapier, and custom Node workers — chosen by volume.
Learn moreCalculator- and location-driven SEO surfaces with real data and SSR.
Learn more