High-performance HTTP API caching proxy built with Go, Redis, and an in-memory cache.
API Cache Proxy sits between your application and external APIs, transparently caching responses to reduce latency, backend requests, and unnecessary network traffic.
It provides a two-level caching strategy:
- L1 — In-memory cache: ultra-fast access for frequently requested data.
- L2 — Redis: shared and longer-lived cache storage.
Client
│
▼
┌─────────────────────┐
│ API Cache Proxy │
│ │
│ ┌───────────────┐ │
│ │ L1 Memory │ │
│ │ Cache │ │
│ └───────┬───────┘ │
│ │ miss │
│ ┌───────▼───────┐ │
│ │ L2 Redis │ │
│ │ Cache │ │
│ └───────┬───────┘ │
│ │ miss │
└──────────┼──────────┘
│
▼
External API