disable_route_cache Method
Disable the automatic routing of requests to local files.
Syntax
def disable_route_cache(invalidate_routed_files: bool) -> None: ...
Remarks
This method disables the automatic routing of requests to files in the directory specified by a previous call to enable_route_cache (please refer to that method for more information about said request routing).
The InvalidateRoutedFiles parameter controls what happens to any handles currently open for files in the aforementioned directory; passing True will allow them to continue being used, while passing False will invalidate them immediately.
Note: This method cannot be called within events.