A basic CLI tool that starts a caching proxy server, it will forward requests to the actual server and cache the responses. If the same request is made again, it will return the cached response instead of forwarding the request to the server.
- Clone this repo locally & move into the cloned folder
- Run the server using
go run main.go --target={} --port={} --ttl={}
Eg.
go run main.go --target=https://dummyjson.com --port=8080 --ttl=10s
- Supports TTL(Time To Live)