From aa65f14a4f9e6699e17b647aeba470db47575df8 Mon Sep 17 00:00:00 2001 From: Tetrakern <26898880+Tetrakern@users.noreply.github.com> Date: Fri, 30 Aug 2024 23:22:23 +0200 Subject: [PATCH] Update helper modal for query caching --- includes/functions/settings/_settings_page_general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions/settings/_settings_page_general.php b/includes/functions/settings/_settings_page_general.php index 2cca34eb..ca4ffc44 100644 --- a/includes/functions/settings/_settings_page_general.php +++ b/includes/functions/settings/_settings_page_general.php @@ -811,7 +811,7 @@ $images = get_template_directory_uri() . '/img/documentation/'; FICTIONEER_QUERY_RESULT_CACHE_LIMIT, FICTIONEER_QUERY_RESULT_CACHE_THRESHOLD ), - __( '
Queries that return many results are resource-intensive and can slow down your site, especially for stories with hundreds of chapters. This feature mitigates the slowdown by caching the results of the largest queries in the database, typically resulting in faster loading times.
You can use the FICTIONEER_QUERY_RESULT_CACHE_LIMIT
constant to change the number of cached results (default is 50) and the FICTIONEER_QUERY_RESULT_CACHE_THRESHOLD
constant to change what constitutes as large result (default is 50). Be aware that increasing these numbers will result in higher RAM consumption.
With this feature enabled, the results of large queries are cached in the database. Repeating resource-intensive queries, especially for stories with hundreds of chapters, can slow down the site and even cause timeouts. Caching them typically leads to faster loading times.
You can use the FICTIONEER_QUERY_RESULT_CACHE_THRESHOLD
constant to define what constitutes as large query result (default is 50) and the FICTIONEER_QUERY_RESULT_CACHE_LIMIT
constant to change the number of cached results (default is 50). Be aware that increasing these numbers will result in higher RAM consumption.