-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
At the moment, we use a 15 minutes long transient to cache the chart data:
statify/inc/class-statify-dashboard.php
Lines 290 to 295 in 1efbb2f
| // Make cache. | |
| set_transient( | |
| 'statify_data', | |
| $data, | |
| MINUTE_IN_SECONDS * 15 | |
| ); |
How about updating the chart (via Ajax) if the transient is expired? Or updating the chart also every 15 minutes to show the latest possible data?
First asked here: https://wordpress.org/support/topic/auto-refresh-evert-n-minutes/
This should not impact performance and we should ask us if this will be useful for most of our users.
manu-p and soufianesabirisoufianesabiri