I'm using a wpData Chart that uses a table that is populated with data from a serialized PHP array. My issue is it doesn't update when the data changes and I refresh the page. It's almost like the javascript data result was cached. Is there a way to stop this cache? My environment does NOT cache the URL because when I refresh the data URL directly it shows the most recent data immediately. But with the wpData Chart it doesn't update until about 10 - 30 min later. After multiple refresh attempts.
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
I am not sure i understood the main issue in your use-case.
Are the table and the chart both not updating when you change the source PHP data,
or the table connected with the source PHP array is updating when you refresh the page,
but just the Chart is not updating the data?
-
That should not happen, we are not able to reproduce this issue.
On our end, and as far as we know for other users, all our charts are correctly updating with the source data from the tables when the page is refreshed.
-
You can try to use our Cache and auto-update cache feature, that might help.
I'm using a wpData Chart that uses a table that is populated with data from a serialized PHP array. My issue is it doesn't update when the data changes and I refresh the page. It's almost like the javascript data result was cached. Is there a way to stop this cache? My environment does NOT cache the URL because when I refresh the data URL directly it shows the most recent data immediately.
But with the wpData Chart it doesn't update until about 10 - 30 min later. After multiple refresh attempts.
Hi, Jeremy.
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
I am not sure i understood the main issue in your use-case.
Are the table and the chart both not updating when you change the source PHP data,
or the table connected with the source PHP array is updating when you refresh the page,
but just the Chart is not updating the data?
-
That should not happen, we are not able to reproduce this issue.
On our end, and as far as we know for other users, all our charts are correctly updating with the source data from the tables when the page is refreshed.
-
You can try to use our Cache and auto-update cache feature, that might help.
Please check more details on how to try this here.
Let us know if that helps.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables