Merge pull request #104

This commit is contained in:
symfony-flex-server[bot]
2017-10-21 16:09:22 +00:00
committed by GitHub
5 changed files with 46 additions and 0 deletions
@@ -0,0 +1,5 @@
cache_adapter:
providers:
default:
factory: "cache.factory.%env(DEFAULT_CACHE_PROVIDER)%"
options: "%env(json:DEFAULT_CACHE_PROVIDER_OPTIONS)%"
+13
View File
@@ -0,0 +1,13 @@
{
"bundles": {
"Cache\\AdapterBundle\\CacheAdapterBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "Provider types described at: See http://www.php-cache.com/en/latest/symfony/adapter-bundle/#configuration",
"DEFAULT_CACHE_PROVIDER": "array",
"DEFAULT_CACHE_PROVIDER_OPTIONS": "[]"
}
}
+2
View File
@@ -0,0 +1,2 @@
<bg=blue;fg=white> Next for CacheAdapterBundle </>
Download the adapters you want to use from <comment>http://www.php-cache.com/en/latest/#cache-pool-implementations</comment>.
+14
View File
@@ -0,0 +1,14 @@
cache:
session:
enabled: "%env(bool:SESSION_CACHE_ENABLED)%"
service_id: "cache.provider.default"
use_tagging: true
ttl: 7200
router:
enabled: "%env(bool:ROUTER_CACHE_ENABLED)%"
service_id: "cache.provider.default"
ttl: 86400
logging:
enabled: "%env(bool:APP_DEBUG)%"
logger: "logger"
level: "info"
+12
View File
@@ -0,0 +1,12 @@
{
"bundles": {
"Cache\\CacheBundle\\CacheBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"SESSION_CACHE_ENABLED": "true",
"ROUTER_CACHE_ENABLED": "false"
}
}