“Not Modified” header followed by unexpected content body with sitemesh3 and mod-jk
问题 In my Java / Struts2 / Tomcat application, when requesting some resources that generate a "304 Not Modified" response, the file is still being sent in the response. This is a response example captured with Fiddler: HTTP/1.1 304 Not Modified Date: Thu, 26 Jun 2014 11:27:27 GMT Server: Apache/2.2.16 (Ubuntu) Connection: Keep-Alive Keep-Alive: timeout=15, max=100 Vary: Accept-Encoding /*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a