Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 949 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 949 Bytes

license: MIT/Apache-2.0 crates.io docs.rs

fopro

An proof-of-concept(TM) caching HTTP forward proxy

Limitations

  • Very naive rules to decide if something is cachable (see sources) specifically, fopro DOES NOT RESPECT cache-control, vary, ETC.
  • The cache is boundless (both in memory and on disk)
  • Responses are buffered in memory completely before being proxied (instead of being streamed)
  • Partial responses (HTTP 206) are not cached at all.
  • Really you shouldn't use fopro, it currently does the bare minimum to get most of the uv test suite passing.

Features

  • Supports CONNECT requests
  • Caches 200 responses in memory and on-disk