Path: redb-route/redb.Route/Configuration/StreamCacheOptions.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route/Configuration/StreamCacheOptions.cs ---- namespace redb.Route.Configuration; /// /// Options for stream caching behavior. /// public sealed class StreamCacheOptions { /// Threshold in bytes before spooling from memory to a temp file. Default: 128 KB. public long SpoolThreshold { get; set; } = 128 * 1024; /// Directory for temporary spool files. Default: system temp directory. public string? TempDirectory { get; set; } /// Enable stream caching globally for all routes. Default: false. public bool Enabled { get; set; } }