A side effect of Item6699
: Added caching of table processing in a topic so multiple charts on the same topic page will only parse the topic page once instead of each time a chart was created.
is that the following TML no longer works...
Since TABLE_B & TABLE_C are invisible, while processing CHART_A, the cache does not contain any reference to these tables, when rendering CHART_B or CHART_C, and therefore the second and third charts complain about not finding the table.
Tables A, B, C are generated dynamically, depending on various URL parameters, and hence the necessity to modularize the code, and reuse the table generation and chart preparation.
It would be great if the optimization could somehow be conditionally applied.
I pinged the primary maintainer of this plugin.
Fixed. I added a new plugin configuration variable CACHE to ChartPlugin
that defaults = 0. Only if CACHE=1 will caching of a topic page be performed.
Wonderful! Much appreciated!