diff --git a/config/cms.php b/config/cms.php index 20a33f980..5a4421828 100644 --- a/config/cms.php +++ b/config/cms.php @@ -329,7 +329,6 @@ return [ 'forceBytecodeInvalidation' => true, - /* |-------------------------------------------------------------------------- | Duplicate database query cache diff --git a/config/testing/cms.php b/config/testing/cms.php index dfea912c7..59e0cb95e 100644 --- a/config/testing/cms.php +++ b/config/testing/cms.php @@ -109,4 +109,18 @@ return [ 'themesPathLocal' => base_path('tests/fixtures/themes'), + /* + |-------------------------------------------------------------------------- + | Duplicate database query cache + |-------------------------------------------------------------------------- + | + | If the caching is enabled, database queries with identical statements will + | have the results stored in memory across the same request. This increases + | performance for smaller more frequent queries but may lower performance + | for queries that return a large number of records. + | + */ + + 'enableDuplicateQueryCache' => false, + ];