/workers_examples

Cloudflare Workers

Primary LanguageJavaScriptMIT LicenseMIT

Cloudflare Workers Examples

Cloudflare Workers Docs

Workers

  • Basic Cache basic_cache
  • Static Site Host basic_static_site
  • Hash Generator hash
  • PT VAT Validator validate_pt_vat
  • Find client country user_country
  • Append client country to url append_user_country
  • DoH Google Format with 1.1.1.1 Data doh_google_via_cloudflare
  • Idempotency idempotency
  • LogDNA logdna
  • Purge Cache from Cloudflare Zone purge_cache
  • Redirect all uppercase URLs redirect_uppercase
  • Worker Triggers scheduled
  • PoP-level block pop_block
  • Module module
  • WebCrawler Ping