https://github.com/sahilb315/cache-proxy-server
A basic CLI go lang caching proxy server
https://github.com/sahilb315/cache-proxy-server
caching-proxy go golang
Last synced: over 1 year ago
JSON representation
A basic CLI go lang caching proxy server
- Host: GitHub
- URL: https://github.com/sahilb315/cache-proxy-server
- Owner: Sahilb315
- License: mit
- Created: 2024-11-08T12:08:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-08T12:45:00.000Z (over 1 year ago)
- Last Synced: 2025-02-01T12:45:38.551Z (over 1 year ago)
- Topics: caching-proxy, go, golang
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Caching Proxy
## Overview
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.
[](https://roadmap.sh/projects/caching-server)
## Installation
1. Clone this repo locally & move into the cloned folder
2. Run the server using
```bash
go run main.go --target={} --port={} --ttl={}
```
Eg.
```bash
go run main.go --target=https://dummyjson.com --port=8080 --ttl=10s
```
## Features
- Supports TTL(Time To Live)
## License
[MIT](https://choosealicense.com/licenses/mit/)