RosterHash/static
efigueroa 1837590a79 Add loading states and performance optimizations
Performance Improvements:
- Added loading template with skeleton UI and progress animations
- Split routes: show loading state immediately, then fetch data
- Added memory cache for API responses (5-minute TTL)
- Cached expensive calls: user lookup, NFL state, user leagues
- Meta refresh redirect instead of JavaScript for no-JS requirement

User Experience:
- Immediate page load with branded loading screen
- Skeleton UI shows expected layout structure
- Progress bar and spinner animations during load
- Users see something instantly instead of blank page

Technical Details:
- /<username> and /<username>/<week> now show loading.html first
- /<username>/<week>/data route handles actual API calls
- Simple memory cache with fallback to stale data on errors
- CSS animations for loading states and skeleton placeholders

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 23:20:09 -07:00
..
style.css Add loading states and performance optimizations 2025-09-06 23:20:09 -07:00