I had the same idea some months ago, and asked if there is any exsiting method to follow.
It seems that we have to write extra codes to serialize the ASTNodes:(
-bluejoe
----- Original Message -----
From: "Jason Tesser" <
jasontesser@...>
To: <
user@...>
Sent: Monday, June 29, 2009 9:49 PM
Subject: Serialize Template Object
>I have a need for cache purposes to serialize the Velocity Resource object.
> I was hoping to cache the velocity code within the template and then
> reconstruct the template on the other end.
>
> Is there a good way to do this. I am look at the code and api and it isn't
> obvious how.
>
> Thanks,
> Jason Tesser
> dotCMS Lead Development Manager
> 1-305-858-1422
>