I’m using WP-Piwik with the option “Use js/index.php” on the Tracking tab.
I’m finding that when I test my site with YSlow (via gtmetrix.com), it reports this issue:
There is 1 static component without a far-future expiration date: http://piwik.mysite.com/js/
But if I change WP-Piwik to use the option “Default tracking”, which means it uses http://piwik.mysite.com/piwik.js then I don’t get this issue with YSlow anymore – this file is correctly cached.
So it seems that for some reason, the /js/ option doesn’t seem to like being cached. Can you shed any light on how I can change this?
For the record, I have enabled caching in my .htaccess file like this:
(plus numerous other types too)