[Moin-user] Page cache when MonthCalendarTopList or RecentlyCreatedPages macro is used

Franz Zieher franz.zieher at gmail.com
Wed May 30 17:41:44 EDT 2007


Barry Cornelius <barry.cornelius <at> oucs.ox.ac.uk> writes:

> 
> On Tue, 29 May 2007, Franz Zieher wrote:
> > I'm using the MothCalendar macro with the MonthCalendarTopList and
> > the RecentlyCreatedPages macro (moinmoin 1.5.7). The caching of
> > the page, where those macros are called, suppresses that the news or
> > recently created pages are shown correctly.
> > Is it possible to disable caching for individual pages in order to avoid
> > that the macro output gets updated?
> 
> Does the comment about setting Dependencies at the bottom of the following 
> page help?
>     http://moinmoin.wikiwikiweb.de/macro/FeedParser
> 
> --
> Barry Cornelius              Computing Services, University of Oxford
>                                   13 Banbury Road, Oxford, OX2 6NN, UK 
> barry.cornelius <at> oucs.ox.ac.uk          Reception:273200    Fax:273275 
> http://www.barrycornelius.com          01865 273267 or +441865 273267
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 

Both macros have Dependencies = ['namespace'] defined, which should avoid
caching(?). I didn't mention, that I'm using it together with the 
Frame parser and this creates the problem. When putting for example
the recently created pages in a Frame section like the following

{{{#!Frame align=float:right
== News ==
[[MonthCalendarTopList(10)]]

== Recently created pages ==
[[RecentlyCreatedPages(5)]]
}}}

on a page, then the output from the macros don't get updated.

Actually, when I was looking up the documentation on ParserMarket/Frame
it says at the end of the page:

   it does not solve Dependencies of an macro call e.g. time for Hits -- Could
   someone give an example of this? -- SteveDavison 2007-01-23 02:05:07 For Hits 
   or dependencies not solved if cache is enabeld? -- ReimarBauer 2007-01-23 
   10:38:00

It was obviously not fixed yet :(

Franz






More information about the Moin-user mailing list