Closed celogeek closed 12 years ago
Hello,
Yep, forgot that file.Fixed
Note that in fact this is not microcaching, since the validity is set to 2h. Also note that the presence of a session cookie bursts the cache.
The caching happens not for a user acessing piwik but for an access from a site where piwik is collecting analytics and makes a request for piwik.php.
If you want to use the cache for the piwik UI then it needs to be tweaked since there's a session cookie present and the cache is always pierced.
Thanks.
I want to use the microcaching system.
So I have include fcgi_cache.conf for my piwik.php (in my site conf).
And I can't start because of the $no_cache variable missing.
in fastcgi_cache_zone.conf, i have added this : map $http_cookie $no_cache { default 0; ~_mcnc 1; }
It auto set no_cache depending on the presence of _mcnc in http_cookie. But this part is still not set.
If I take a look at this : http://fennb.com/microcaching-speed-your-app-up-250x-with-no-n
I see the _mcnc is set by a way, I can try to copy that but I'm not sure is ok for piwik.
Could you take a look and may be you have already a solution on this. I would love have the full conf for piwik.
Thanks