Just out of curiosity: What and at which level do you like to cache?
* do you like to cache the rendered html? * do you 'intercept' and proxy the response and return the cached html for every request? * do you only set the 'expires' http header for the generated sites? LieGrue, strub ----- Original Message ----- > From: Thomas Andraschko <[email protected]> > To: [email protected] > Cc: > Sent: Monday, December 17, 2012 5:37 PM > Subject: [JSF][Proposal] ViewMetaData for HTTP caching > > Hi, > > sometimes it's required or possible to cache some views. > We implemented a CODI ViewConfig based solution for this. > > Here is a prototype: https://gist.github.com/aab5992ab4cf5d22b2d3 > > What do you think? Is this useful for other users too and can we maybe add > it to DeltaSpike? > > @Gerhard > Would it be possible to add a new method > <T extends Annotation> T getUniqueMetaData(Class<T> target) > to ViewConfigDescriptor? > Many custom ViewMetaData's are unique and so we must not create a ArrayList > each time. > > > Regards, > Thomas >
