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

Tag (count) performance #196

Open
proxymus opened this issue Oct 17, 2018 · 1 comment
Open

Tag (count) performance #196

proxymus opened this issue Oct 17, 2018 · 1 comment

Comments

@proxymus
Copy link

We have over 3.000 tags in our wiki and I've noticed that the performance isn't good when we use the {{count>+}} command. I think the overall performance is also a problem for the ckgedit plugin which has a tag plugin which generates a tag list with check boxes (https://github.com/turnermm/ckgedit).

Is there any way to improve the performance?

Thank you in advance.

@michitux
Copy link
Member

The problem is that currently the tag plugin is quite strict about ACLs. I.e., it only counts pages you can read. I am not sure if this is the main performance bottleneck but it is the one reason why the output cannot be cached and thus it is slow on every view (this is the same with the tag cloud). I assume that for most users ACLs are actually not an issue as the wiki is either completely private or completely public - or if the wiki is partially public, there is no public write access. Therefore, caching the output or possibly a "public" version where only world-readable pages are considered, would probably solve most of the problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants