Skip to content

Sahilb315/Cache-Proxy-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

  1. Clone this repo locally & move into the cloned folder
  2. Run the server using
 go run main.go --target={} --port={} --ttl={}

Eg.

go run main.go --target=https://dummyjson.com --port=8080 --ttl=10s

Features

  • Supports TTL(Time To Live)

License

MIT

About

A basic CLI go lang caching proxy server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages