IMPR: Add default cache

This commit is contained in:
Tony Air 2023-10-31 02:05:32 +02:00
parent 051a126624
commit a4e2f12b71

12
app/_config/cache.yml Normal file
View File

@ -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