Add config for duplicate database query cache
Refs https://github.com/octobercms/library/pull/253
This commit is contained in:
parent
8ffc744dc0
commit
d19f0a1229
|
|
@ -328,4 +328,20 @@ return [
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'forceBytecodeInvalidation' => true,
|
'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,
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue