Daniel Fagerstrom wrote:
Vadim Gritsenko wrote:

Sylvain Wallez wrote:

Daniel Fagerstrom wrote:

VPCs are not cacheable yet. Its probably not that hard to add caching, but it requires that we extend the ProcessingPipeline interface with some methods that are needed for VPCs. It also requires that we find some syntax for declaring what pipeline type that should be used for a specific VPC.

Not sure that this is desired.

Which of it?

"syntax for declaring what pipeline type that should be used for a specific VPC".


We should have configurable caching, with following levels of caching:

  * No Caching: Returns null key
  * Caching: Returns pipeline key, validity
  * Caching, with private cache: Same as above,
    plus caches output of the pipeline locally (same as
    caching pipeline).


Any suggestions about where we should configure the caching and how to implement it?

Either <map:parameter name="caching"> or attribute caching="" in VPC component declaration.



I would prefer merging the functionality in the AbstractProcessingPipeline and the VirtualProcessingPipeline to reduce code duplication and to be able to reuse the already implemented caching pipeline.

Yes, of course.

Vadim

Reply via email to