From c85f8297d22bdf7098e9bb29fbff5902fd4d1110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20S=C3=B8ndergaard?= Date: Wed, 28 Mar 2018 20:34:43 +0200 Subject: [PATCH] Make in-memory request cache configurable (#3477) Related: octobercms/library#308, merged in https://github.com/octobercms/library/commit/7e29489d87245ff1a17693e74a69d26ac4f2a44e. Credit to @Josniii --- config/cache.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config/cache.php b/config/cache.php index e4a343706..0b13c94a1 100644 --- a/config/cache.php +++ b/config/cache.php @@ -78,4 +78,17 @@ return [ 'prefix' => 'october', + /* + |-------------------------------------------------------------------------- + | Disable Request Cache + |-------------------------------------------------------------------------- + | + | The request cache stores cache retrievals from the cache store + | in memory to speed up consecutive retrievals within the same request. + | Set to true to disable this in-memory request cache. + | + */ + + 'disableRequestCache' => false, + ];