Description

If you call a parser in a page, it is not cached even if the parser would allow that.

This slows down processing of particular pages very much.

Steps to reproduce

  1. Create a page calling a parser with {{{#!...

  2. Check if it is cached

Details

This wiki.

Workaround

Add

Dependencies = []

in the particular parser files at the beginning in order to speed up processing.

Discussion

Dependencies = []

is missing on module level.

[v1.3] Add the correct dependency lines.

[v1.4] Better move this to the parser object and adjust formatter.text_python.Formatter.processor() to evaluate this.

You have to clear the caches to make this take effect. Updating to a new Moin version is sufficient. Changing some parsers might not.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/ParsersAreNotCached (last edited 2007-10-29 19:18:53 by localhost)