Commit Graph

7 Commits

Author SHA1 Message Date
aewing a3576bce4b Clean up: keep only Mode6Test and ModeSwitch folders 2026-01-20 19:38:19 +00:00
aewing 7de75b0596 Sync Mode6Test frontend improvements: pinch zoom 500% max, no flicker/flip, deferred rendering 2026-01-20 19:33:12 +00:00
aewing cbb14e69fb Set all PDFs to 140% zoom (Word docs + native PDFs) 2026-01-01 21:53:56 +00:00
aewing c08513636a Scale up caching: 1000 jobs + 5-job batches + 3-min refresh
- Increased from 300 to 1000 jobs for file pre-caching
- Increased batch size from 3 to 5 jobs per cycle
- Reduced batch delay from 3s to 2s for faster throughput
- Reduced refresh cycle from 5 minutes to 3 minutes
- Now caches all 2242 jobs at startup
- 538+ jobs with files continuously hot

Performance impact:
- Faster file availability across all users
- More comprehensive pre-cached coverage
- Quicker refresh cycles for latest data
2026-01-01 18:54:57 +00:00
aewing 16ed6e412f Implement server-side file caching with service principal auth
- Remove progress meter for faster perceived load times
- Fix async getGraphToken() calls with await
- Implement service principal (app-only) authentication for file caching
- Pre-cache jobs (2242 jobs) at startup via Redis
- Background file caching for first 300 jobs on continuous cycle
- Cache refreshes every 5 minutes to keep data current
- All caches served instantly from Redis for all users/devices
- No user authentication required for backend caching
- App token auto-refreshes every 55 minutes

Changes:
- backend/src/index.ts: Added service principal flow, startup cache warming, background file caching
- frontend/public/index.html: Removed progress bar, fixed getGraphToken() awaits
- .env.example: Added GRAPH_TOKEN documentation
2026-01-01 18:49:02 +00:00
aewing 5974606071 Add session changelog 2026-01-01 16:46:29 +00:00
aewing 7c3d62d4a9 Initial production setup with dual-token auth 2026-01-01 16:44:11 +00:00