Cache Proxy is a simple caching proxy server implemented in C++. It serves as a basic solution for caching HTTP requests and responses using a card in memory to store the cache.
Since the cache is stored in memory, it is limited by the available RAM. For large-scale use cases, consider implementing a more sophisticated caching mechanism that can handle larger datasets or persist the cache to disk.
This implementation does not include a cache eviction policy. The cache will grow indefinitely, which could lead to memory exhaustion in long-running scenarios. Adding an eviction policy like LRU (Least Recently Used) would be a recommended enhancement.
caching-proxy --port --origin
caching-proxy --clear-cache
caching-proxy --port 3000 --origin http://dummyjson.com
This Repo serves as a solution to https://roadmap.sh/projects/caching-server