Skip to content
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

Small performance improvement in custom tracker #12443

Merged
merged 1 commit into from Jan 18, 2018

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Jan 15, 2018

Skips validating the environment and eg checking whether config file exists, whether Piwik is installed etc. Doing this otherwise each time the JS tracker is requested can slow down serving the tracker and requires unnecessarily server resources. Eg when requesting piwik.js we would also not check whether Piwik is installed already.

@tsteur tsteur added c: Performance For when we could improve the performance / speed of Matomo. Needs Review PRs that need a code review labels Jan 15, 2018
@tsteur tsteur added this to the 3.3.1 milestone Jan 15, 2018
@mattab mattab merged commit 9f2e8e1 into 3.x-dev Jan 18, 2018
@mattab mattab deleted the customtrackernovalidate branch January 18, 2018 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Performance For when we could improve the performance / speed of Matomo. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants