Commit Graph

10 Commits

Author SHA1 Message Date
Cursor Agent ba621cfc4a Optimize home/library loading and SQLite query performance
- Replace home preview N+1 queries with a single window-function batch query
- Cache library previews and series card lists (15s TTL, shared with media cache)
- Tune SQLite: larger page cache, mmap, wal_autocheckpoint, ANALYZE on migrate
- Defer history fetch on library page until last_played sort is selected
- Yield to browser between paginated library loads to keep UI responsive

Co-authored-by: truewhile <truewhile@users.noreply.github.com>
2026-09-02 01:39:28 +00:00
truewhile c30dab56a3 优化 2026-08-28 22:20:01 +08:00
truewhile 6aefe18caa 5 2026-08-26 12:52:10 +08:00
truewhile 44ca451cd4 优化
优化
2026-08-24 17:40:43 +08:00
ShukeBta b610dda098 fix: align scraped media naming and release sorting 2026-07-03 02:55:33 +08:00
ShukeBta 49e8a0c34e split media repository upsert strategy 2026-06-27 12:13:52 +08:00
ShukeBta 5ef831f830 support multiple roots per library 2026-06-26 22:18:26 +08:00
ShukeBta 4e00c4c14d fix: refresh stale scan-derived media metadata 2026-06-25 03:40:50 +08:00
ShukeBta 02fe4fd374 refactor: tighten media upsert metadata handling 2026-06-25 02:33:12 +08:00
ShukeBta 192f35d9fa refactor: split modules and harden scraping workflows 2026-06-24 11:59:18 +08:00