Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/WEIFENG2333/VideoCaptioner
/ disable_cache
Function
disable_cache
videocaptioner/core/utils/cache.py:27–30 ·
view source on GitHub ↗
Disable caching globally.
()
Source
from the content-addressed store, hash-verified
25
26
27
def
disable_cache() -> None:
28
""
"Disable caching globally."
""
29
global _cache_enabled
30
_cache_enabled = False
31
32
33
def
is_cache_enabled() -> bool:
Callers
3
test_cache_disabled_bypasses_cache
Method · 0.90
main
Function · 0.90
__onCacheEnabledChanged
Method · 0.90
Calls
no outgoing calls
Tested by
1
test_cache_disabled_bypasses_cache
Method · 0.72