Modules§
Structs§
- Create
Proxy Config - Configuration for creating a proxy
- Request
Info - Information about an incoming request for cache key generation
Enums§
- Cache
Storage Mode - Controls where cached response bodies are stored.
- Cache
Strategy - Controls which backend responses are eligible for caching.
- Compress
Strategy - Controls how cacheable responses are stored in memory.
- Proxy
Mode - Controls the operating mode of the proxy.
Functions§
- create_
proxy - The main library interface for using phantom-frame as a library Returns a proxy handler function and a cache handle
- create_
proxy_ with_ handle - Create a proxy handler with an existing cache handle. Useful for sharing a single handle across multiple proxy instances so that invalidation propagates to all caches simultaneously.