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...
%INCLUDE{TABLE_A_render_CHART_A}%
%INCLUDE{TABLE_B_render_CHART_B}%
%INCLUDE{TABLE_C_render_CHART_C}%
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.
--
TWiki:Main.DipuDeshmukh
- 2011-08-11
I pinged the primary maintainer of this plugin.
--
TWiki:Main.PeterThoeny
- 2011-08-19
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.
--
TaitCyrus - 2011-08-23
Wonderful! Much appreciated!
--
TWiki:Main.DipuDeshmukh
- 2011-08-24