Skip to main content

static_web_server/mem_cache/
mod.rs

1// SPDX-License-Identifier: MIT OR Apache-2.0
2// This file is part of Static Web Server.
3// See https://static-web-server.net/ for more information
4// Copyright (C) 2019-present Jose Quintana <joseluisq.net>
5
6//! In-memory file cache with LFU admission and LRU eviction.
7//!
8//! Provides file-level caching with configurable capacity, TTL, and TTI.
9//! Enabled via the `mem-cache` Cargo feature and configured through the
10//! `[advanced.memory-cache]` TOML section.
11
12pub mod cache;
13pub(crate) mod stream;