openreader/src/contexts
Richard Roberson 7046666b3f fix(tts): ensure robust caching for audio and alignments
- New buildCacheKey function creates unique identifiers for TTS cache entries.
- Cache keys now include sentence, voice, speed, provider, and model parameters.
- Prevents serving cached audio or alignment data that mismatches current TTS parameters.
- Removes redundant audioCache.clear() calls when voice or speed change, as entries are now distinct.
2025-11-22 01:57:27 -07:00
..
ConfigContext.tsx feat(tts): add word-by-word highlighting with whisper.cpp 2025-11-21 19:22:54 -07:00
DocumentContext.tsx refactor(db): migrate to Dexie with reactive queries and simplify data layer 2025-11-14 16:14:00 -07:00
EPUBContext.tsx refactor(client): centralize client-side API calls and refine types 2025-11-21 23:33:41 -07:00
HTMLContext.tsx refactor(core): standardize module structure and enhance TTS types 2025-11-16 15:12:35 -07:00
PDFContext.tsx refactor(client): centralize client-side API calls and refine types 2025-11-21 23:33:41 -07:00
ThemeContext.tsx Fix initial system theme 2025-02-19 12:32:16 -07:00
TTSContext.tsx fix(tts): ensure robust caching for audio and alignments 2025-11-22 01:57:27 -07:00