From 5fa42a97e7c94388b6a371afce3513b57c7ab6a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=BCrth?= Date: Fri, 23 Oct 2026 19:54:35 +0200 Subject: [PATCH] Remove GC left-voer setting "probability" --- docs/en/core-libraries/caching.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/en/core-libraries/caching.md b/docs/en/core-libraries/caching.md index ff29aa0bf9..36f4b952a5 100644 --- a/docs/en/core-libraries/caching.md +++ b/docs/en/core-libraries/caching.md @@ -75,7 +75,6 @@ following: 'long' => [ 'className' => 'Cake\Cache\Engine\FileEngine', 'duration' => '+1 week', - 'probability' => 100, 'path' => CACHE . 'long' . DS, ], ] @@ -109,7 +108,6 @@ Cache::setConfig('short', [ Cache::setConfig('long', [ 'className' => 'Cake\Cache\Engine\FileEngine', 'duration' => '+1 week', - 'probability' => 100, 'path' => CACHE . 'long' . DS, ]); @@ -151,8 +149,6 @@ Each engine accepts the following options: config. Useful when you need to delete a subset of data from a cache. - `prefix` Prepended to all entries. Good for when you need to share a keyspace with either another cache config or another application. -- `probability` Probability of hitting a cache gc cleanup. Setting to 0 will disable - `Cache::gc()` from ever being called automatically. ### FileEngine Options