Wrong number of variants returned due to caching ?

in Development
I am using a simple C# program to fetch the number of variants using the https://api.webshopapp.com/nl/variants/count.json url. This worked fine but now it is returning a different number than when I try it in a browser. It seems that there is some caching but not on my site.
Did someone has the same problem and if so did you find a solution ?
1 comment
I obtained the same variant count through an API call (cURL) and from the browser.
API Support Specialist
Lightspeed HQ