Expand description
Static file serving module for Sentinel proxy
This module provides high-performance static file serving with:
- Range requests (206 Partial Content) for resumable downloads and video seeking
- Zero-copy file serving using memory-mapped files for large files
- On-the-fly gzip/brotli compression
- In-memory caching for small files
- Directory listing and SPA routing
§Module Structure
- [
cache]: File caching with pre-computed compression - [
compression]: Content encoding and compression utilities - [
range]: HTTP Range request handling
Structs§
- Cache
Stats - Cache statistics
- Cached
File - Cached file entry
- File
Cache - File cache for improved performance
- Static
File Server - Static file server
Enums§
- Content
Encoding - Content encoding preference