From 7490f414e33b2cdffcc9737226bd83f2b84d4525 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sun, 9 Dec 2018 19:33:39 +0000 Subject: [PATCH] [FrameworkBundle] split cache.yaml out of framework.yaml --- .../3.3/config/packages/cache.yaml | 19 +++++++++++++++++++ .../3.3/config/packages/framework.yaml | 15 --------------- .../4.2/config/packages/cache.yaml | 1 + .../4.2/config/packages/framework.yaml | 15 --------------- 4 files changed, 20 insertions(+), 30 deletions(-) create mode 100644 symfony/framework-bundle/3.3/config/packages/cache.yaml create mode 120000 symfony/framework-bundle/4.2/config/packages/cache.yaml diff --git a/symfony/framework-bundle/3.3/config/packages/cache.yaml b/symfony/framework-bundle/3.3/config/packages/cache.yaml new file mode 100644 index 00000000..93e620ef --- /dev/null +++ b/symfony/framework-bundle/3.3/config/packages/cache.yaml @@ -0,0 +1,19 @@ +framework: + cache: + # Put the unique name of your app here: the prefix seed + # is used to compute stable namespaces for cache keys. + #prefix_seed: your_vendor_name/app_name + + # The app cache caches to the filesystem by default. + # Other options include: + + # Redis + #app: cache.adapter.redis + #default_redis_provider: redis://localhost + + # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues) + #app: cache.adapter.apcu + + # Namespaced pools use the above "app" backend by default + #pools: + #my.dedicated.cache: ~ diff --git a/symfony/framework-bundle/3.3/config/packages/framework.yaml b/symfony/framework-bundle/3.3/config/packages/framework.yaml index 8b244184..60f24ae2 100644 --- a/symfony/framework-bundle/3.3/config/packages/framework.yaml +++ b/symfony/framework-bundle/3.3/config/packages/framework.yaml @@ -13,18 +13,3 @@ framework: #fragments: true php_errors: log: true - - cache: - # Put the unique name of your app here: the prefix seed - # is used to compute stable namespaces for cache keys. - #prefix_seed: your_vendor_name/app_name - - # The app cache caches to the filesystem by default. - # Other options include: - - # Redis - #app: cache.adapter.redis - #default_redis_provider: redis://localhost - - # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues) - #app: cache.adapter.apcu diff --git a/symfony/framework-bundle/4.2/config/packages/cache.yaml b/symfony/framework-bundle/4.2/config/packages/cache.yaml new file mode 120000 index 00000000..a8816e95 --- /dev/null +++ b/symfony/framework-bundle/4.2/config/packages/cache.yaml @@ -0,0 +1 @@ +../../../3.3/config/packages/cache.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/4.2/config/packages/framework.yaml b/symfony/framework-bundle/4.2/config/packages/framework.yaml index 6d885470..d3f884c4 100644 --- a/symfony/framework-bundle/4.2/config/packages/framework.yaml +++ b/symfony/framework-bundle/4.2/config/packages/framework.yaml @@ -15,18 +15,3 @@ framework: #fragments: true php_errors: log: true - - cache: - # Put the unique name of your app here: the prefix seed - # is used to compute stable namespaces for cache keys. - #prefix_seed: your_vendor_name/app_name - - # The app cache caches to the filesystem by default. - # Other options include: - - # Redis - #app: cache.adapter.redis - #default_redis_provider: redis://localhost - - # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues) - #app: cache.adapter.apcu