aspose 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
http compressed channel
GZIPing JSP
Recommend good tutorial on Servlet Filtering
Compression Filter
check if user has access to a specific page.