https://issues.apache.org/bugzilla/show_bug.cgi?id=55669
Yann Ylavic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #18 from Yann Ylavic <[email protected]> --- (In reply to Tod Schmidt from comment #17) > This is still a problem with 2.4.10 > > The problem is not that we are adding headers it is that it is still caching > it even without any headers that would allow it. Here are logs from two > responses, the first it gets a 503 and caches it, the second it serves that > bad content. It is not clear whether mod_expires is involved in this scenario, it isn't right? > > [Thu Nov 20 17:52:42.184507 2014] [proxy_http:trace3] [pid 4506] > mod_proxy_http.c(1420): [client 10.3.0.203:33820] Status from backend: 503 > [Thu Nov 20 17:52:42.184557 2014] [proxy_http:trace4] [pid 4506] > mod_proxy_http.c(1103): [client 10.3.0.203:33820] Headers received from > backend: > [Thu Nov 20 17:52:42.184578 2014] [proxy_http:trace4] [pid 4506] > mod_proxy_http.c(1105): [client 10.3.0.203:33820] Date: Thu, 20 Nov 2014 > 17:52:10 GMT > [Thu Nov 20 17:52:42.184605 2014] [proxy_http:trace4] [pid 4506] > mod_proxy_http.c(1105): [client 10.3.0.203:33820] Server: Apache > [Thu Nov 20 17:52:42.184623 2014] [proxy_http:trace4] [pid 4506] > mod_proxy_http.c(1105): [client 10.3.0.203:33820] Content-Type: text/html > [Thu Nov 20 17:52:42.184640 2014] [proxy_http:trace4] [pid 4506] > mod_proxy_http.c(1105): [client 10.3.0.203:33820] Content-Length: 237 > [Thu Nov 20 17:52:42.184657 2014] [proxy_http:trace4] [pid 4506] > mod_proxy_http.c(1105): [client 10.3.0.203:33820] Connection: close So, no Cache-Control/Expires header sent by the backend. > [Thu Nov 20 17:52:42.184698 2014] [proxy_http:trace3] [pid 4506] > mod_proxy_http.c(1671): [client 10.3.0.203:33820] start body send > [Thu Nov 20 17:52:42.185448 2014] [proxy:debug] [pid 4506] > proxy_util.c(2146): AH00943: http: has released connection for > (consumption1.tnc.org) > [Thu Nov 20 17:52:42.185553 2014] [headers:trace2] [pid 4506] > mod_headers.c(874): AH01502: headers: ap_headers_output_filter() What is(are) mod_headers action(s) here? > [Thu Nov 20 17:52:42.186002 2014] [cache:debug] [pid 4506] > mod_cache.c(1330): [client 10.3.0.203:33820] AH00769: cache: Caching url: / > [Thu Nov 20 17:52:42.186018 2014] [cache:debug] [pid 4506] > mod_cache.c(1336): [client 10.3.0.203:33820] AH00770: cache: Removing > CACHE_REMOVE_URL filter. > [Thu Nov 20 17:52:42.186445 2014] [http:trace3] [pid 4506] > http_filters.c(1008): [client 10.3.0.203:33820] Response sent with status > 503, headers: > [Thu Nov 20 17:52:42.186460 2014] [http:trace5] [pid 4506] > http_filters.c(1015): [client 10.3.0.203:33820] Date: Thu, 20 Nov 2014 > 17:52:10 GMT > [Thu Nov 20 17:52:42.186472 2014] [http:trace5] [pid 4506] > http_filters.c(1018): [client 10.3.0.203:33820] Server: Apache > [Thu Nov 20 17:52:42.186486 2014] [http:trace4] [pid 4506] > http_filters.c(837): [client 10.3.0.203:33820] Content-Type: text/html > [Thu Nov 20 17:52:42.186498 2014] [http:trace4] [pid 4506] > http_filters.c(837): [client 10.3.0.203:33820] Content-Length: 237 > [Thu Nov 20 17:52:42.186510 2014] [http:trace4] [pid 4506] > http_filters.c(837): [client 10.3.0.203:33820] Cache-Control: > public,max-age=1800 Where does this Cache-Control come from? It makes the response cacheable. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
