diff --git a/cache/adapter-bundle/1.1/config/packages/cache_adapter.yaml b/cache/adapter-bundle/1.1/config/packages/cache_adapter.yaml new file mode 100644 index 00000000..a9317d57 --- /dev/null +++ b/cache/adapter-bundle/1.1/config/packages/cache_adapter.yaml @@ -0,0 +1,5 @@ +cache_adapter: + providers: + default: + factory: "cache.factory.%env(DEFAULT_CACHE_PROVIDER)%" + options: "%env(json:DEFAULT_CACHE_PROVIDER_OPTIONS)%" diff --git a/cache/adapter-bundle/1.1/manifest.json b/cache/adapter-bundle/1.1/manifest.json new file mode 100644 index 00000000..b7db6a29 --- /dev/null +++ b/cache/adapter-bundle/1.1/manifest.json @@ -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": "[]" + } +} diff --git a/cache/adapter-bundle/1.1/post-install.txt b/cache/adapter-bundle/1.1/post-install.txt new file mode 100644 index 00000000..5b8a14ab --- /dev/null +++ b/cache/adapter-bundle/1.1/post-install.txt @@ -0,0 +1,2 @@ + Next for CacheAdapterBundle + Download the adapters you want to use from http://www.php-cache.com/en/latest/#cache-pool-implementations. diff --git a/cache/cache-bundle/1.0/config/packages/cache.yaml b/cache/cache-bundle/1.0/config/packages/cache.yaml new file mode 100644 index 00000000..515999b6 --- /dev/null +++ b/cache/cache-bundle/1.0/config/packages/cache.yaml @@ -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" diff --git a/cache/cache-bundle/1.0/manifest.json b/cache/cache-bundle/1.0/manifest.json new file mode 100644 index 00000000..120d0c04 --- /dev/null +++ b/cache/cache-bundle/1.0/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Cache\\CacheBundle\\CacheBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "SESSION_CACHE_ENABLED": "true", + "ROUTER_CACHE_ENABLED": "false" + } +}