disable query caching

465 views
Skip to first unread message

Czech Jiri

unread,
Jan 13, 2016, 3:16:02 PM1/13/16
to re:dash users
Is there any option to disable caching for selected queries? In another words refresh them every time user opens a page?

I have a dashboard with few queries setup with a parameter, I dont need to (and cannot) refresh these every X minutes. Ideally I would like specific queries to re-run when they are opened on a dashboard (fully understand there will be latency since the queries are not cached because the content is changing).

Arik Fraimovich

unread,
Jan 13, 2016, 3:28:44 PM1/13/16
to Czech Jiri, re:dash users
Do you need all the queries on this dashboard to refresh or only some of them? 

On Wed, Jan 13, 2016 at 10:16 PM Czech Jiri <czec...@gmail.com> wrote:
Is there any option to disable caching for selected queries? In another words refresh them every time user opens a page?

I have a dashboard with few queries setup with a parameter, I dont need to (and cannot) refresh these every X minutes. Ideally I would like specific queries to re-run when they are opened on a dashboard (fully understand there will be latency since the queries are not cached because the content is changing).

--
You received this message because you are subscribed to the Google Groups "re:dash users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redash-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Czech Jiri

unread,
Jan 13, 2016, 3:40:19 PM1/13/16
to re:dash users
ideally all of them, that tiny little icon "enable/disable auto refresh" really does not do anything at all, honestly I dont even mind to do this globally across all queries/dashboards

thank you

Arik Fraimovich

unread,
Jan 14, 2016, 3:13:07 AM1/14/16
to Czech Jiri, re:dash users
The "Enable/Disable Auto Refresh" is used to refresh queries that have scheduled updates. It doesn't run them again.

If you append "maxAge=0" to the dashboard URL it will refresh all queries, for example:
You should see the current time in the widget there, every time you open the dashboard.

Will this solution work for you?

Czech Jiri

unread,
Jan 14, 2016, 12:08:05 PM1/14/16
to re:dash users, czec...@gmail.com, ar...@arikfr.com
Yes, this is exactly what I need!

thanks a lot
Reply all
Reply to author
Forward
0 new messages