File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Caching response headers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Caching response headers" Watch "Caching response headers" New topic
Author

Caching response headers

Gili Tzabari
Greenhorn

Joined: Dec 05, 2004
Posts: 16
Hi,

I'm trying to improve the server-side caching filter found here: http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html?page=3

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.

Thanks,
Gili
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Caching response headers