diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-14 03:56:29 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-14 03:56:29 +0000 |
commit | 627e83adc13005b2431d49d98c0a2dc05a8e65a6 (patch) | |
tree | d606d36cdb2050c62bf0e3de8f69dac1fea8534d /core/views | |
parent | aaff4a78863c0103d5c6da86e324e81cc0c2a564 (diff) |
Cache variables in core._cache so that we can retrieve them all in a
single query. In most cases, we were fetching 4-5 variables per page
load, so this is 2-3x faster.
Diffstat (limited to 'core/views')
-rw-r--r-- | core/views/admin_advanced_settings.html.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/views/admin_advanced_settings.html.php b/core/views/admin_advanced_settings.html.php index 1995c30c..1f3825bd 100644 --- a/core/views/admin_advanced_settings.html.php +++ b/core/views/admin_advanced_settings.html.php @@ -17,6 +17,7 @@ <th> <?= t("Value") ?></th> </tr> <? foreach ($vars as $var): ?> + <? if ($var->module_name == "core" && $var->name == "_cache") continue ?> <tr class="setting"> <td> <?= $var->module_name ?> </td> <td> <?= $var->name ?> </td> |