Commit Graph

4 Commits

Author SHA1 Message Date
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 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 7c3d62d4a9 Initial production setup with dual-token auth 2026-01-01 16:44:11 +00:00