silverstripe-webpack/app/_config/cache.yml

17 lines
362 B
YAML
Raw Normal View History

2023-10-31 01:05:32 +01:00
---
Name: app-cache
After:
- app-basics
---
SilverStripe\Core\Injector\Injector:
Psr\SimpleCache\CacheInterface.appCache:
factory: SilverStripe\Core\Cache\CacheFactory
constructor:
namespace: "appCache"
defaultLifetime: 3600
2024-06-19 19:48:16 +02:00
SilverStripe\Control\Middleware\HTTPCacheControlMiddleware:
defaultState: 'enabled'
defaultForcingLevel: 0