Skip to main content

capp_cache/
lib.rs

1//! HTTP cache implementations for capp-rs.
2//!
3//! This crate provides HTTP caching functionality for web crawlers and other
4//! HTTP-heavy applications. It offers a trait-based API with pluggable backends.
5//!
6//! Currently supported backends:
7//! - File-backed cache with a Fjall metadata index
8
9mod cache;
10mod error;
11mod file;
12mod http_cache;
13
14pub use cache::{CacheEntry, CacheEntryState, HttpCachePayload};
15pub use error::CacheError;
16pub use file::FileHttpCache;
17pub use http_cache::HttpCache;