Skip to content

Feature request: Real-time data in the chart (auto-refresh) #267

@Zodiac1978

Description

@Zodiac1978

At the moment, we use a 15 minutes long transient to cache the chart data:

// 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions