mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 11:29:02 +00:00
Major simplifications: - Remove complex cache config (TTL, max sizes, min/max entry sizes) - Store compressed variants directly on StaticRoute like the body - Mark compression as "failed" if it doesn't save space to avoid retrying - Remove all cache enforcement logic - Compression is opt-in (disabled by default) - Consolidate tests into single comprehensive test file The cache is now just simple storage - compress once per encoding, store it if it saves space, serve it when requested. No LRU, no TTL, no complex size limits. Much simpler and easier to understand. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>