diff --git a/app/_config/cache.yml b/app/_config/cache.yml new file mode 100644 index 0000000..9b9994d --- /dev/null +++ b/app/_config/cache.yml @@ -0,0 +1,12 @@ +--- +Name: app-cache +After: + - app-basics +--- + +SilverStripe\Core\Injector\Injector: + Psr\SimpleCache\CacheInterface.appCache: + factory: SilverStripe\Core\Cache\CacheFactory + constructor: + namespace: "appCache" + defaultLifetime: 3600