Skip to content

A small caching proxy to cache http/https requests

License

Notifications You must be signed in to change notification settings

Fidnix/caching-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

caching-proxy

A small caching proxy to cache http/https requests

Installation

Dev

go build
go run . -p 3000 -origin https://example.com

User

go install github.com/Fidnix/[email protected]

Note

Maybe tou have to check your GOBIN env variable with go env

Usage

caching-proxy --port 3000 -origin https://example.com

When execute the program, it creates a server to listen https://example.com requests behind localhost:3000

Each response returned will have a x-cache header with values: HIT, MISS; depending on if it's cached

TODO

Funcionality

  • Cache content by query params
  • Cache content by request body
  • Allow log option
  • Verify args

Project

  • Modularize project
  • Tests

About

A small caching proxy to cache http/https requests

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages