Actually, the edits made in commit d6859612 seem to be working (the values are being loaded from the smart cache on composr.app), but I still see a lot of individual queries to the values table. Maybe the cache is not being loaded in soon enough?
Direct calls for values where we only want the_value have been optimised.
Now, we need to optimise calls where we want both the_value and date_and_time (probably get_value_newer_than). This should further reduce queries by quite a lot.
System message - Issue updated
Now, we need to optimise calls where we want both the_value and date_and_time (probably get_value_newer_than). This should further reduce queries by quite a lot.