tui.start_cached
tui.start_cached FIRST_PAGE
Like tui.start, but first records every page the app can reach into the page cache, so later page switches replay instead of parsing.
Parameters
FIRST_PAGE: the page to open. Every*.xmlnext to it and every shipped default page (share/defaults/pages/) is warmed too.
Returns: as tui.start.
Notes
- Files whose name starts with
_(fragments for<include>) are skipped. - All warmed pages are validated before the terminal is taken over, not only
FIRST_PAGE. - Only pages that are missing from the on-disk cache or changed since are re-recorded, behind a progress banner. The cache lives in
tui.cache.disk_dir.
See also: tui.cache.warm_with_spinner, tui.load_cached
