]> Raphaƫl G. Git Repositories - blog/blobdiff - config/packages/cache.yaml
Import config, packages and routes yaml files
[blog] / config / packages / cache.yaml
diff --git a/config/packages/cache.yaml b/config/packages/cache.yaml
new file mode 100644 (file)
index 0000000..6899b72
--- /dev/null
@@ -0,0 +1,19 @@
+framework:
+    cache:
+        # Unique name of your app: used to compute stable namespaces for cache keys.
+        #prefix_seed: your_vendor_name/app_name
+
+        # The "app" cache stores to the filesystem by default.
+        # The data in this cache should persist between deploys.
+        # 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: null