That’s weird then. I’m using PHPFog for my hosting and they provide a varnish caching server for every application that’s hosted with them. Normally it works pretty well, but I’m seeing my Piwik API requests getting cached for some reason.
The documentation my hosting provider has states:
[b]"To prevent caching set the “Cache-Control” header to “no-cache”. This is generally required in applications which don’t produce/consume cookies, but have contents that is actually dynamic. Here is the PHP example to set the Cache-Control header.
But if Piwik is already sending this header, why is Varnish caching my requests? I’ve attached a screenshot of what I’m seeing.