pub fn invalidate_cache(main_file: &Path)
Invalidate the cache for a file.
Removes both the current cache file and any legacy pre-#939 <file>.cache sidecar so a subsequent load can’t pick up stale data.
<file>.cache