Write
460
edits
m |
|||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
While a super | While a super strength of OdataLink is the ability to pull live data, it can come with a performance cost. To mitigate that, OdataLink can archive data in our servers which returns data faster than from the live source. OdataLink has different options for caching depending on your situation. You can control how the archive works by changing the '''Archive Type''' option. | ||
The possible values are: | The possible values are: | ||
Line 18: | Line 18: | ||
Some endpoints which cannot be edited, such as [[Xero Accounting Endpoint: JournalsAccrual|JournalsAccrual]] and [[Xero Accounting Endpoint: JournalsCash|JournalsCash]] will get cached in an encrypted archive to speed up refreshes. This only applies to endpoints whose data never changes. | Some endpoints which cannot be edited, such as [[Xero Accounting Endpoint: JournalsAccrual|JournalsAccrual]] and [[Xero Accounting Endpoint: JournalsCash|JournalsCash]] will get cached in an encrypted archive to speed up refreshes. This only applies to endpoints whose data never changes. | ||
It is also possible to configure a | It is also possible to configure a '''Cut Off Date''' which will instruct OdataLink to archive all data prior to this date. This increases the performance when pulling large amounts of historical data. The cut off date can either be entered directly, or calculated from a number of months or days. It may also be important to configure the [[Archive Paging]] option can force paging by month or year. | ||
Line 25: | Line 25: | ||
When the '''Archive Type''' is set to '''Live (no archive)''', OdataLink will serve data directly from your [[Data Files|data file]]. | When the '''Archive Type''' is set to '''Live (no archive)''', OdataLink will serve data directly from your [[Data Files|data file]]. | ||
This is option is only | This is option is only recommended for those that need maximum security. It does come at the cost that some endpoints will be particularly slow. | ||