We are running on paid cloud plan, is there a way to decrease this period significantly or remove caching completely? We are adding Matomo platform to our websites and our sophisticated setup (dataLayer, multiple websites, ecommerce, etc.) requires constant adjustments. We can’t wait 8 days for all changes to reflect as this doesn’t allow us to use Matomo as Google replacement. Our websites have low traffic we are talking about 2000-2500 total non-unique pageviews a day.
I have contacted support, but so far no reply. Can anyone advise?
Philippe, thank you so much for this tip to force the refresh of the container script.
One suggestion for Matomo Cloud team if I may ; it would certainly be useful to display this information regarding the container script 8 days cache somewhere well visible
It would certainly spare quite a few troubles for new Matomo Tag Manager adopters !
How can I test if the javascript is implemented correctly and the cache refresh is set to one day?
We have implemented the script and in the network tab I see that today’s date is appended. However, under Cache Control it still shows 8 days.
If you want to test your script (and be sure it works well): Press Ctrl + F5, then all your scripts and assets will be refreshed. Or you can either, when the devtool is open, check the Disable cache option (be careful, this is only taken into account during the time the devtool is open)
The solution I provided previously allows the script path to change automatically every day, then browsers have to request the script at least once a day…
I have configured the Matomo container with the custom event and published it, then it’s working as expected. But when I modified the event and published it again, the new changes are not getting. It takes more than a week or more days to reflect.
Why is it happening, Is there any reason and solution for it?