Add logic to invalidate cache of affected topics on topic creation or topic update:
- parent topic
- including topics
- backlink topics
--
TWiki:Main/PeterThoeny
- 2014-02-22
This is now in SVN trunk and 6.0 branch.
--
TWiki:Main.PeterThoeny
- 2014-02-25
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
TWiki::Plugins::VarCachePlugin::afterSaveHandler()
method) from 20 to 30 seconds as a result.
We disabled it with
* Set VARCACHEPLUGIN_INVALIDATEONCREATE = none
* Set VARCACHEPLUGIN_INVALIDATEONUPDATE = none
in
Main.TWikiPreferences
For our smaller webs this runs fine, however.
(FYI)
--
TWiki:Main.TerjeAndersen
- 2015-01-09
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.
--
TWiki:Main.PeterThoeny
- 2015-01-09