major-domo-database/app/routers_v3
Cal Corum 4db6982bc5 CLAUDE: Add Redis cache invalidation to player mutation endpoints
- Add cache invalidation to PUT, PATCH, POST, and DELETE endpoints
- Invalidate all player list, search, and detail caches on data changes
- Increase cache TTLs now that invalidation ensures accuracy:
  - GET /players: 10min → 30min
  - GET /players/search: 5min → 15min
  - GET /players/{player_id}: 10min → 30min

This ensures users see updated player data immediately after changes
while benefiting from longer cache lifetimes for read operations.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 16:02:00 -05:00
..
__init__.py Initial commit 2023-03-21 16:09:46 -05:00
awards.py DB Error Handling 2025-08-20 19:33:40 -05:00
battingstats.py Postgres Query Updates 2025-08-25 07:19:13 -05:00
current.py DB Error Handling 2025-08-20 19:33:40 -05:00
custom_commands.py Added HelpCommands 2025-10-17 16:36:40 -05:00
decisions.py DB Error Handling 2025-08-20 19:33:40 -05:00
divisions.py DB Error Handling 2025-08-20 19:33:40 -05:00
draftdata.py DB Error Handling 2025-08-20 19:33:40 -05:00
draftlist.py DB Error Handling 2025-08-20 19:33:40 -05:00
draftpicks.py DB Error Handling 2025-08-20 19:33:40 -05:00
fieldingstats.py Postgres Query Updates 2025-08-25 07:19:13 -05:00
help_commands.py Added HelpCommands 2025-10-17 16:36:40 -05:00
injuries.py DB Error Handling 2025-08-20 19:33:40 -05:00
keepers.py DB Error Handling 2025-08-20 19:33:40 -05:00
managers.py DB Error Handling 2025-08-20 19:33:40 -05:00
pitchingstats.py Postgres Query Updates 2025-08-25 07:19:13 -05:00
players.py CLAUDE: Add Redis cache invalidation to player mutation endpoints 2025-10-23 16:02:00 -05:00
results.py DB Error Handling 2025-08-20 19:33:40 -05:00
sbaplayers.py DB Error Handling 2025-08-20 19:33:40 -05:00
schedules.py DB Error Handling 2025-08-20 19:33:40 -05:00
standings.py DB Error Handling 2025-08-20 19:33:40 -05:00
stratgame.py Added SeasonPitchingStats 2025-08-26 00:17:57 -05:00
stratplay.py Add Redis Caching 2025-08-27 22:49:37 -05:00
teams.py Add Redis Caching 2025-08-27 22:49:37 -05:00
transactions.py DB Error Handling 2025-08-20 19:33:40 -05:00
views.py Add Redis Caching 2025-08-27 22:49:37 -05:00