Skip to content
/ fopro Public

A caching forward HTTP/1+2 proxy

Notifications You must be signed in to change notification settings

bearcove/fopro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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