hyperlane-plugin-static-files
High-concurrency static asset serving plugin for Hyperlane.
- Canonicalizes root and requested file paths to block
..,%2e%2e, NUL bytes, backslash traversal, dotfiles, and symlink escapes. - Uses Hyperlane's built-in
FileExtensionMIME table with precompressed.brand.gzsidecar negotiation (Vary: Accept-Encoding). - 64-way
XxHash3_64sharded bounded hot-file memory cache (Arc<CachedFile>) withETag(If-None-Match->304 Not Modified), RFC 9110 byteRange(206 Partial Content/416 Range Not Satisfiable),HEAD, directory index, and optional SPA fallback.