by making it cache the response headers so when the page is hit from the cache, it'll get the exact same response. The problem is I don't see a portable way to get at the underlying response headers when implementing a ServletResponseWrapper.
How is one supposed to do this? Is there a better preexisting server-side caching filter in existance? This seems like a pretty common-place problem.