Redirects with Bloom Filter
This example shows how you can use a Bloom Filter and Edge Middleware to improve the lookup performance of a large list of redirects (50,000).
Although this example stores the redirects in a JSON file, you can also use a database such as Edge Config or Redis.
Before using this example, you should measure which is more performant: 1. Directly querying your data or 2. Using a Bloom Filter to check if the redirect exists before querying the data.
Learn more by reading the documentation.