kirby-matomo
kirby-matomo copied to clipboard
Cache folder seems to be empty when this plugin is active
Hello there,
I notice this issue with the websites I'm working with. Separate hosting but same issue when this plugin is active, the cache folders doesn't create the static files cache although the folders does get created.
When I disable the plugin and run Matomo manually it's working.
Any ideas where that could come from?
This is related to https://github.com/getkirby/kirby/issues/3976
The kirby()->user()
call :
https://github.com/sylvainjule/kirby-matomo/blob/8662f8ec074369c605cb186b245a797c9bbbe68d/lib/matomo.php#L24
is preventing the page to be cached since 3.5.5. A fix is being worked on by the team if I understand it correctly, but currently the only solution I see is using pre 3.5.5 version, wait for 3.7 or allow tracking users.
Thank you for the reply and the information, I wasn't aware of that current issue. Let's hope this got solved with the next release, because your plugin is a must!