I am working in 1.5 and trying to make the resource Serializable. I really need to be able cache Velocity Objects on disk. We have instances where there are too many for cache and it is slow to reconstruct them both because of our code and reconstructing our pages which do many parses of Velocity Templates is time consuming even if I have the String code for the VelocityTemplate. They are not the quickest objects to construct even after my resourceLoader returns.
The major issues I see are 1. One the data attribute is an Object. I think it is usually a SimpleNode. 2. I need to make the runtimeservices transient and maybe modify the getter to pull it from VelocityAPI. Not sure how to do this. 3. Same as 2 but for the resourceloader this I can handle as it is my own resourceLoader. Do any of the developers here have any thoughts to help out? Thanks, Jason Tesser dotCMS Lead Development Manager 1-305-858-1422 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
