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

Clear Smarty cache with each Piwik update #662

Closed
robocoder opened this issue Apr 15, 2009 · 1 comment
Closed

Clear Smarty cache with each Piwik update #662

robocoder opened this issue Apr 15, 2009 · 1 comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@robocoder
Copy link
Contributor

Call clear_all_cache when bumping to a newer Piwik version to immediately invalidate the cache.

@mattab
Copy link
Member

mattab commented Apr 16, 2009

piwik doesn’t use smarty cache feature. all compiled templates should be updated automatically as mtime is greater for new templates, and smarty uses filemtime to decide whether the new template needs to be recompiled.

I don’t think we could benefit from using Smarty cache as this would add some complexity in dealing with cache expiries, invalidating cache, etc. instead we should optimize the code above to make sure all api request/UI generation are fast and efficient (it’s not too bad at the moment but def lots of ways to make it faster). see #660 and #103 and #620

@robocoder robocoder added this to the RobotRock milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants