def preDeploy(self, site):
        self.cache_duration = site.config.get("cache-duration")
Load the cache duration from the config
dataset/ETHPy150Open koenbok/Cactus/cactus/plugin/builtin/cache.py/CacheDurationPlugin.preDeploy