• 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.

Item6015: Setting MaxCacheAge to 0 does not disable refreshCache

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension LdapContrib Low New   n/a  

Edit Form Data

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

Detail

Setting the MaxCacheAge to 0 in v2.99.5 still causes the call to refresh the cache. I made one change and it is working for me. I've never made a patch file, so I'll do it the way I know:

LdapContrib.pm:Line 182: maxCacheAge=>$TWiki::cfg{Ldap}{MaxCacheAge} || 86400,
to

LdapContrib.pm:Line 182: maxCacheAge=>defined ($TWiki::cfg{Ldap}{MaxCacheAge}) ? $TWiki::cfg{Ldap}{MaxCacheAge} : 86400,

-- TWiki:Main/DonaldClaus - 23 Sep 2008

ItemTemplate
Summary Setting MaxCacheAge to 0 does not disable refreshCache
ReportedBy TWiki:Main.DonaldClaus
Codebase 4.2.0
SVN Range TWiki-5.0.0, Tue, 23 Sep 2008, build 17539
AppliesTo Extension
Component LdapContrib
Priority Low
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic revision: r1 - 2008-09-23 - DonaldClaus
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback