@anonymous-piwik-user opened this Issue on April 9th 2009

One thing that would be important to ensure accurate numbers is making sure the tracking image isn't cached. We should send back the following headers:

Cache-Control: private, no-cache, proxy-revalidate
Pragma: no-cache

So in core/Tracker.php, maybe do something like:

protected function outputTransparentGif()
header("Content-type: image/gif");
header('Pragma: no-cache');
header('Cache-Control: private, no-cache, proxy-revalidate');

@robocoder commented on April 9th 2009 Contributor

PHP ships with the default headers to not cache.

I agree we should probably set these headers explicitly (instead of assuming the default php configuration).

@robocoder commented on April 26th 2009 Contributor

(In [1071]) Fixes #646, setting cache headers explicitly to nocache instead of
assuming PHP default.

This Issue was closed on April 26th 2009
Powered by GitHub Issue Mirror