← Back to team overview

dhis2-devs team mailing list archive

Re: SQL View CSV/JSON/XML Refresh Rate

 

Hi Tim,

Are you sure the second part of your question is not cache related?

Regards,
Jason
On Mar 18, 2015 11:48 PM, "Timothy Harding" <hardingt@xxxxxxxxx> wrote:

> Hello there DHIS2
>
> How often are the download links through the api refreshed for sqlviews?
> Is this an option we can manipulate?
>
> Thanks!
>
> More info
> If I go to an sqlviews GUI page the query always seems to be rerun:
> /dhis/dhis-web-maintenance-dataadmin/exportSqlView.action?id=SQLVIEWID
>
> If I go to the api download page it goes with the first run of the query:
> dhis/api/sqlViews/UID/data.csv
> rather than rerunning each time.
>
> Timothy Harding
> RPCV Vanuatu
> Skype: hardingt@xxxxxxxxx
> +1 (541) 632-6623
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References