sophron/dokuwiki-plugin-authorstats — comment on commit fe52ed872734dc2955d70c8394e41cb9acf18af1
File:  line 0
By michitux:

Some general comments:

* I imagine this will be very slow when the wiki is large (some thousands pages). Maybe it would make sense to save the result somewhere and update it on every save of a page once it has been built so it would only need to be built once. Building it once could be done in the indexer or with a special admin plugin in the admin backend.
* What about page caching? Currently the calculation is expensive so it makes sense to cache it but once it is cheaper, maybe it makes sense to either add a custom cache handling that checks for the modification time of the file "purgefile" in the cache which is updated whenever a page is changed.