Eliminate any live calls to the API from the web site #401
Labels
No labels
Kestra
bug
enhancement
someday
subtask
☁️ api
🎛️ infrastructure
🐞 sentry
📆 2025 Season
📝 pages
allpicks
📝 pages
picks
📝 pages
standings
🚀 performance
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
johnsturgeon/tgfp-web#401
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
for example, right now
current_infotakes almost 2 seconds, that's an unacceptable amount of time to add to every single page refreshI'm thinking, now, that anything UI related has no business even instantiating an NflApi class, and that we need to just interact with the model, and that there is an offline job that pulls the current info into the DB on a schedule, maybe once every 10 minutes or so. So, here's my proposal:
week_infowhich has season, week_no and season_type` intsThat should effectively decouple the UI from the API