New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
very slow response time #13152
Comments
Are all requests that slow? |
Also note, that it does not matter on what server the sites are running, as each request is made from the users browser and it is therefore irrelevant (mostly) where the server is. |
why is matomo calling two files? piwik.js and piwik.php calling just one file ( piwik.js) would be better |
because Matomo needs javascript to measure some stuff. piwik.js should only be loaded on the first page, afterwards browsers should have in cache. piwik.php will be requested on anytime something is tracked (page view, content impression, outlink, download, ...) |
develop a rest API for tracking so only JavaScript will be loaded form the browser |
If you are able to provide a solution to transfer data from the users
browser to Matomo without sending a request, we would for sure implement
it. But even a Rest API requires a request...
If you don't want to track any JavaScript stuff and want to avoid any
additional request maybe have a look at the PHP Tracker or Log Analytics.
|
this takes too long to load the page
|
Did you setup cron archiving as suggested in #13152 (comment)? There is nothing special about your call, it's a generic page view. |
You may also just get a better server and find the request time very fast. Or install queued tracking, there it takes like 5ms. https://plugins.matomo.org/QueuedTracking |
matomo and my website are installed on the SAME server but still very slow
how do I speed this up?
The text was updated successfully, but these errors were encountered: