Gabe, > Additionally, one thing that is not addressed by Rick's idea > and that would be a cool feature is the caching of entire pages. > The usefulness of such a page caching scheme would depend very much > on the control the view designer has over specifiying the life time of > cached pages. For example, the life time of a cached page could be > tied to > - time (the obvious) > - the life time of a session > - the value of an application-scope variable > - the value of a velocity context variable > - the value of a HTTP request parameter > etc. > > Where would such page caching support go? I am not quite sure. > One approach would be to implement it as a layer on top > of Velocity, for example inside VelocityViewServlet.
You should take a look at http://www.opensymphony.com/oscache/features.html, they offer a Cache Filter that allows you to cache entire pages including binary content and doesn't require you modifing Velocity at all. -Rick -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
