Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/eudicots/Cactus
/ preDeploy
Method
preDeploy
cactus/plugin/builtin/cache.py:8–12 ·
view source on GitHub ↗
Load the cache duration from the config
(self, site)
Source
from the content-addressed store, hash-verified
6
""
"
7
8
def
preDeploy(self, site):
9
""
"
10
Load the cache duration
from
the config
11
""
"
12
self.cache_duration = site.config.get(
"cache-duration"
)
13
14
def
preDeployFile(self, file):
15
""
"
Callers
2
upload
Method · 0.80
test_cache_control
Method · 0.80
Calls
1
get
Method · 0.45
Tested by
1
test_cache_control
Method · 0.64