Currently, tracker cache files in /tmp/cache/tracker/ are never deleted. This file stores Goals definitions, website URLs, etc. The problem is that, when goal change, the tracker cache files are deleted on the server on which the Piwik UI is running.
But the tracker cache files will not be deleted from the tracking servers if they are different servers.
I see 2 solutions to this:
Alternatively, but more complicated, we could prepare a memory / memcache layer, but this would be more complicated to setup and maintain.
In 7dfad00e55148032541d1dabc9ac49eaf96c0903: Fixes #2830 Implementing Tracker Cache TTL (in config file, [Tracker]
In 2854a29f5a418099a356ef8951bcd1bc0993dd88: Refs #2830 More fixes forgot in previous commit
In d152c932d6c24e9705e3380a25ecc6a256d44343: Fixes #2830 Implementing Tracker Cache TTL (in config file, [Tracker]
In 1cd66a2c5065460f1c6d2d77e4778f97efb171fd: Refs #2830 More fixes forgot in previous commit