0

I'm working on a Servlet app with contents that are updated periodically. Hence, between updates any dynamic pages generated by the Servlet can be cached.

Does Tomcat or Jetty (or any Servlet container) offer a way to cache dynamically generated pages?

Or would I need to use a caching reverse proxy like Squid to accomplish that?

Continuation
  • 3,080
  • 5
  • 30
  • 38

1 Answers1

2

I'm pretty sure they don't. I use Apache httpd with mod_proxy and mod_cache and it works pretty well. If you take the time to send proper HTTP response headers, it's better...

alex
  • 1,329
  • 6
  • 9