I'm evaluating JBoss Web for use on a project. On other projects I would cache static content using Apache mod_mem_cache or using a proxy cache like Squid or Varnish in front of Lighttpd.
How are static content files like .css,.js, image files, etc. typically cached using JBoss web? I could put Squid or Varnish in front of JBoss Web, but just wondering if I'm overlooking something that is built in.
A lot of JBoss customers use Apache httpd mod_cache + mod_proxy/mod_jk to do that.
Mod_proxy part could be something like:
ProxyPassMatch .*(jpg|gif)$ !
ProxyPassMatch ^/myapp http://localhost:8080/myapp