Any comments? Sometimes it's really usefull to cache "static" views and it's the easiest way via type safe view configuration. I could also provide it via pull request.
2013/2/14 Thomas Andraschko <andraschko.tho...@gmail.com> > Hi Mark, > > somehow i missed your answers. > I would only like to set the expires headers the for request of this view. > > Regards, > Thomas > > > 2012/12/17 Mark Struberg <strub...@yahoo.de> > >> 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 <andraschko.tho...@gmail.com> >> > To: deltaspike-...@incubator.apache.org >> > 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 >> > >> > >