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

Cache cacheBuster generation when rendering a view #13536

Merged
merged 1 commit into from Nov 25, 2018
Merged

Cache cacheBuster generation when rendering a view #13536

merged 1 commit into from Nov 25, 2018

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Oct 4, 2018

refs #13329

Might not fix the issue #13329 but should improve performance when rendering multiple views per pageload. It can be eg many when viewing visitor log etc.

As the issue is referring to the "Segmented Visitor Log", it could actually fix that issue. Maybe for some reason the file cannot be written and it always re-generates it.

piwikVersionBasedCacheBuster is already cached in the method itself.

@tsteur tsteur added c: Performance For when we could improve the performance / speed of Matomo. Needs Review PRs that need a code review labels Oct 4, 2018
@tsteur tsteur added this to the 3.7.0 milestone Oct 4, 2018
@tsteur
Copy link
Member Author

tsteur commented Oct 7, 2018

User confirms this fixes #13329

refs #13329

Might not fix #13329 but should improve performance when rendering multiple views per pageload. It can be eg many when viewing visitor log etc.

As the issue is referring to the "Segmented Visitor Log", it could actually fix that issue. Maybe for some reason the file cannot be written and it always re-generates it. 

`piwikVersionBasedCacheBuster ` is already cached in the method itself.
@sgiehl sgiehl merged commit ccd3dc8 into 3.x-dev Nov 25, 2018
@sgiehl sgiehl deleted the 13329 branch November 25, 2018 14:31
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