Item5414: VarCachePlugin breaks plugins because it skips addHeader calls

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: VarCachePlugin
Branches: trunk
Reported By: TWiki:Main.ArthurClemens
Waiting For:
Last Change By: CrawfordCurrie
That is the reason TwistyPlugin does not work with VarCachePlugin enabled: the necessary css and js are not loaded.

-- TWiki:Main/ArthurClemens - 03 Mar 2008

Ah, that explains why. This plugin predates the addHeader feature, the plugin needs to be updated.

-- TWiki:Main.PeterThoeny - 04 Mar 2008

Any idea how to accomplish this? The plugin currently only processes blocks that have VARCACHE written in them.

-- TWiki:Main.ArthurClemens - 03 May 2008

I can confirm this issue with the ZonePlugin: the ADDTOZONE (adding content to head) works only in the first time. The page body is cached. In the following requests, ADDTOZONE is not processed and the content is not added to head.

-- GilmarSantosJr - 23 Jun 2010

At TWiki they have updated the VarCachePlugin to make this work. I have not reviewed or tested their code.

-- ArthurClemens - 23 Jun 2010

This became urgent for a client, so I fixed it. Not so simple as porting over the new version, but our version is now somewhat better. smile

-- CrawfordCurrie - 23 Mar 2012

ItemTemplate edit

Summary VarCachePlugin breaks plugins because it skips addHeader calls
ReportedBy TWiki:Main.ArthurClemens
Codebase
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Extension
Component VarCachePlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins VarCachePlugin:31adaa9b30ea
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches trunk
trunkCheckins VarCachePlugin:31adaa9b30ea
Release01x01Checkins
Topic revision: r7 - 23 Mar 2012, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy