Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Caching response headers

Gili Tzabari
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm trying to improve the server-side caching filter found here:

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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic