skyview/internal/server
Ole-Morten Duesund 30fcf1a58e feat: Enable WebSocket compression for bandwidth optimization
## Simple and Safe Bandwidth Optimization

### Single Line Change
- Added `EnableCompression: true` to WebSocket upgrader
- Enables automatic deflate compression for all WebSocket messages
- No other code changes required

### Expected Benefits
- 60-90% reduction in WebSocket message size
- Automatic compression/decompression handled by browser and Go
- Particularly effective for JSON data with repeated field names
- No impact on functionality or reliability

### Why This Approach
- Minimal risk - single configuration flag
- Immediate benefits without complex logic
- Built-in browser and Go support
- No client-side changes needed
- Easy to disable if issues arise

This provides significant bandwidth savings with zero complexity,
allowing us to evaluate the impact before considering more advanced
optimizations.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 13:53:34 +02:00
..
testdata Initial implementation of SkyView - ADS-B aircraft tracker 2025-08-23 22:09:37 +02:00
server.go feat: Enable WebSocket compression for bandwidth optimization 2025-09-12 13:53:34 +02:00