You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jacob Hookom <ho...@uwec.edu> on 2003/01/23 22:49:16 UTC

HttpServletResponse Caching

I'm going to cache the response from a resource via a filter
(WrappedHttpServletResponse).

Currently I'm storing both the header information and the outputstream as a
byte array.  Should I be making accommodations for storing/rewriting header
information, or is this something that automatically gets written into the
outputstream at some point that I wouldn't need to do up proxy-type methods
for caching when a resource calls setHeader(String, String) on the response?

Best Regards,
Jacob


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>