Integrating redirection.io with Cloudflare Workers
Aug 21, 2018Guest Author

Summary
This post details the integration of redirection.io with Cloudflare Workers. It provides example JavaScript code for a Worker that intercepts incoming HTTP requests, queries the redirection.io API for redirection rules, and either passes the request through or constructs a new response based on the redirection.io API's output. It also includes implementation details for logging and discusses performance considerations such as caching subrequests and setting timeouts.