mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #10026 from nextcloud/enh/document-display-caches
Document display name caches
This commit is contained in:
commit
a0787a4f9b
@ -60,6 +60,11 @@ If you increase the long_query_time to 100 and add log-queries-not-using-indexes
|
||||
slow_query_log_file = /var/log/mysql/mysql-slow.log
|
||||
long_query_time=100
|
||||
|
||||
Cached data
|
||||
^^^^^^^^^^^
|
||||
|
||||
Starting from Nextcloud 26, user and group display names now are cached. Use the ``IUserManager::getDisplayName`` or ``IGroupManager::getDisplayName`` functions to avoid roundtrips to the database.
|
||||
|
||||
Measuring performance
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user