Edge Redirects
This demo will redirect any path from /1 - /10000 to /posts/1
- /posts/10000
The redirects are hardcoded on a JSON for the paths /1 - /1000
, and coming from Redis (Upstash) for the next 1001 - 10000
paths
Every route returns a latency (added as a query param) which should give you an idea of how the performance of reading a JSON differs from Redis