The following describes the role caching plays in development against the RegOnline API.
All RegOnline API methods implement caching of data responses. All responses are cached for 60 seconds meaning any changes to your data may take up to 60 seconds to show up in the results of a call to the API.
The cache is varied by the following paramaters:
- API Token
- Method Name
This means calling the same method with different parameters (a different filter for example) will not return cached data.
We recommend client applications using the RegOnline API cache data as well. The main reason for this to provide a better experience for the users of your application. Instead of waiting for data to be returned from the RegOnline API on each page load of your application, caching the data on your side for a period of time will allow your page to load faster.
We do limit the number of calls to the RegOnline API to 20 per minute. More details about this can be found on the rate limiting page.