|
I suppose that a generator fetching the external
content and a timestamp validity should be enough: But then again, if its
an http request, I am not sure if this really is going to work (if a timestamp
like lastmodified is available through http). But, if you have control over
the external data (ie. it is a repository kind of thing you have), you can use
eventCache, though it is quite complex if you have to implement it from
scratch...
Then again, if it is not your data/server, and it
really has to be live up-to-date, you fastly run out of options. And only
caching the last part is will only give you some gain if you have a very
large xml file and complex transform (otherwise it will be not the
bottleneck in time anyway, the last tranform)
Regards Ard
--
Hippo Oosteinde 11 1017WT Amsterdam The Netherlands Tel +31 (0)20 5224466 ------------------------------------------------------------- [EMAIL PROTECTED] / http://www.hippo.nl -------------------------------------------------------------- Well I think in my environment step 2 is the way to go... Creating a timestamp or cache-key might not be a problem. The only thing might be that the content to fetch is itself initialized by some transformations and therefore submitted as SAX events, which gives me the problem that I would need to get access to the pipeline content and beeing able to return my timestamp during transform... |
- Re: Custom Pipeline Caching Nils Kaiser
- RE: Custom Pipeline Caching Ard Schrijvers
