wcache

wcache: a tool that can help you store requested resources with redis


Keywords
web_cache, http, python3, cache, socket, web
License
MIT
Install
pip install wcache==0.1.1

Documentation

web_cache

web_cache or wcache, is a tool that can help you store requested resources with redis

Contents

Installation

$ pip install wcache

Usage

  1. start server
  • default $ wcache
  • custom $ wcache [--ip IP] [--port PORT]
  1. access through wcache
  • use httpie (recommend) eg: http --proxy http:0.0.0.0:6666 www.baidu.com
  • use browser just set the proxy as web_cache

Architecture

Processing flow

References

  1. https://en.wikipedia.org/wiki/Web_cache
  2. https://en.wikipedia.org/wiki/Proxy_server