1.0.0 • Published 4 months ago

@shubhamkv/caching-proxy-cli v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

CLI tool to locally cache API responses with file based caching strategy.

Installation

Install the package globally with a node package manager.

npm i --global @shubhamkv/caching-proxy-cli

How to use

Starting the server

Use the start command to start the proxy caching server, it requires the url of the origin server and a port number for the proxy server:

caching-proxy start https://example.com -p 4000

This will start the caching proxy server on the specified port & cache the responses.

Stopping the server

Closing the terminal should stop the running proxy server.

Clearing the proxy cache

Use the clear-cache command to clear the entire cache of the proxy server:

caching-proxy clear-cache

Credits

Thanks to Roadmap.sh | Caching Proxy CLI.

1.0.0

4 months ago

1.0.0-dev.3

4 months ago

1.0.0-dev.2

4 months ago

1.0.0-dev.1

4 months ago