💡 What: Implemented Gzip compression in scripts/web_dashboard.py using standard library modules.
🎯 Why: Reduces transfer size for HTML and JSON responses, improving load times on slower connections.
📊 Impact: Significantly reduces payload size for large responses (e.g., README.md content).
🔬 Measurement: Verified with new test case test_gzip_compression in scripts/test_web_dashboard.py.
✅ Verified: Ran python scripts/test_web_dashboard.py and all tests passed.
💡 What: Separated the /health endpoint from the main dashboard rendering logic. It now returns a lightweight JSON response.
🎯 Why: The previous implementation rendered the full Markdown dashboard for every health check, consuming unnecessary CPU and I/O resources during frequent polling.
📊 Impact: Reduces health check processing time from file reading + markdown parsing (~milliseconds) to a simple JSON return (~microseconds).
🔬 Measurement: Verified with new test script scripts/test_web_dashboard.py and updated render.yaml/app.yaml to use the new endpoint.