mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
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,
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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…
x
Reference in New Issue
Block a user