Add config for duplicate database query cache

Refs https://github.com/octobercms/library/pull/253
This commit is contained in:
Samuel Georges 2017-02-11 08:18:42 +11:00
parent 8ffc744dc0
commit d19f0a1229

View File

@ -328,4 +328,20 @@ return [
*/
'forceBytecodeInvalidation' => true,
/*
|--------------------------------------------------------------------------
| 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' => true,
];