Add logic to invalidate cache of affected topics on topic creation or topic update:
- parent topic
- including topics
- backlink topics
This is now in SVN trunk and 6.0 branch.
For the CERN TWiki, this update led to very slow save times for the larger webs.
The users of one web containing 30K+ topics experienced a save time (more specifically the
method) from 20 to 30 seconds as a result.
We disabled it with
* Set VARCACHEPLUGIN_INVALIDATEONCREATE = none
* Set VARCACHEPLUGIN_INVALIDATEONUPDATE = none
For our smaller webs this runs fine, however.
Thanks Terje for the heads up. I updated the docs with this limitation.
Instead of disabling invalidation of affected topics for all webs you could leave the default in TWikiPreferences, and set to non in just your large web's WebPreferences.