• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7438: Add cache invalidation logic, configurable

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension VarCachePlugin Enhancement Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

ItemTemplate
Summary Add cache invalidation logic, configurable
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 6.0.0
SVN Range TWiki-6.0.1-trunk, Thu, 09 Jan 2014, build 26720
AppliesTo Extension
Component VarCachePlugin
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:27024 TWikirev:27025 TWikirev:27026 TWikirev:27027
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r8 - 2015-01-09 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback