Difference between revisions of "Archive Types"

3 bytes removed ,  01:27, 31 October 2022
no edit summary
Line 4: Line 4:
These exist to improve the refresh rate in scenarios where the refresh rate is more important than the latest live data
These exist to improve the refresh rate in scenarios where the refresh rate is more important than the latest live data


#: '''Live''' optimises the model for end user use. At all times the latest data is returned
# '''Live''' optimises the model for end user use. At all times the latest data is returned
#: '''Developer''' optimises the model for development. If the last refresh occured more than 8 hours ago then retrieve the latest data and cache it, else return the data stored in the cache. The benefit of this Archive type is that it makes refreshes faster but the downside is your not always seeting the latest data
# '''Developer''' optimises the model for development. If the last refresh occured more than 8 hours ago then retrieve the latest data and cache it, else return the data stored in the cache. The benefit of this Archive type is that it makes refreshes faster but the downside is your not always seeting the latest data
#: '''Static''' optimises that data to pull blocks of records that will never change. The model only returns the latest data once for the defined parameters and then caches it and only ever returns that cached data going forward. Use this option if you wish to report on historical data from previous financial years and append with live data for the current year.
# '''Static''' optimises that data to pull blocks of records that will never change. The model only returns the latest data once for the defined parameters and then caches it and only ever returns that cached data going forward. Use this option if you wish to report on historical data from previous financial years and append with live data for the current year.