Dashboard Charts Showing Stale Data, Not Refreshing
Your Base44 app's dashboard shows charts, metrics, and KPIs that don't update when new data comes in. Users have to manually refresh the entire page to see current numbers. Sales totals are hours behind, new orders don't appear in charts, and team members make decisions based on stale data.
Dashboards are supposed to be the real-time pulse of your business. When they show yesterday's data, users stop trusting the dashboard and go back to checking the raw data manually, defeating the entire purpose of having a dashboard.
The issue may be that charts loaded data once on page load and never poll for updates, or that aggressive caching is serving stale query results long after the underlying data has changed.
Error Messages You Might See
Common Causes
- No auto-refresh configured — Charts fetch data once on page load and have no interval to re-fetch
- Aggressive query caching — Dashboard queries are cached for hours, serving stale results even when fresh data is available
- No real-time subscription — The dashboard doesn't subscribe to data change events, relying entirely on manual refresh
- Calculated fields computed on save — Aggregate metrics (totals, counts) are only recalculated when a specific action triggers them, not continuously
- Browser cache serving old page — The dashboard page itself is cached by the browser's service worker or CDN
How to Fix It
- Add polling at regular intervals — Set charts to re-fetch data every 30-60 seconds using setInterval or the charting library's refresh option
- Reduce cache duration — Set query cache TTL to 30 seconds for dashboard queries instead of the default hours
- Implement real-time data subscriptions — If Base44 supports WebSocket or real-time database subscriptions, use them for dashboard data
- Add a visible refresh button — Give users an explicit refresh button with a 'last updated' timestamp so they know when data was fetched
- Bust browser cache on navigation — Add cache-busting query parameters or no-cache headers to dashboard API calls
Real developers can help you.
You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.
Get HelpFrequently Asked Questions
How do I make my Base44 dashboard update automatically?
Add a polling interval to your chart data queries. Set them to re-fetch every 30-60 seconds. Also check if your data queries have caching enabled and reduce the cache duration for dashboard queries.
Can I build a real-time dashboard in Base44?
If Base44 supports real-time database subscriptions, use them for live updates. Otherwise, poll for new data every 30 seconds. For most business dashboards, 30-second refresh is sufficient.