mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
IMPR: Add default cache
This commit is contained in:
parent
051a126624
commit
a4e2f12b71
12
app/_config/cache.yml
Normal file
12
app/_config/cache.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user