API reads from cache

API request: https://piwik-test.xxxxxxxx.com/index.php?module=API&method=API.get&idSite=3&period=range&date=2018-10-01,2018-10-02&format=JSON&token_auth=xxxxxxxxxxxxxxx

I use the above API on the current data on the above API to see the live update data.

  • But the API seems to return the same data it seems like it reads from the cache.
  • When I change the date range and query I get the updated data.

Is there anyway I say matomo API to read it freshly from the database?