DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27791>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27791 mod_cache doesn't re-cache expired content Summary: mod_cache doesn't re-cache expired content Product: Apache httpd-2.0 Version: 2.0.48 Platform: Sun OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: mod_cache AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] It looks like mod_cache isn't discarding expired content in cache. I increased the LogLevel to debug and below is what I see in the log file when the content is expired in cache. It appears that mod_cache sees it is expired, then goes to revalidate the content from the application server but never caches the new version. If I run snoop on my Apache Reverse Proxy server while the content is expired in cache I see the request go to the application server when it is requested and the copy in cache never gets updated and the expiration date is not reset. [Thu Mar 18 11:16:14 2004] [info] disk_cache: Serving Cached URL server.com/infocenter/images/file.gif? [Thu Mar 18 11:16:14 2004] [info] disk_cache: Served headers for URL server.com/infocenter/images/file.gif? [Thu Mar 18 11:16:14 2004] [debug] mod_cache.c(259): cache: stale cache - test conditional [Thu Mar 18 11:16:14 2004] [debug] mod_cache.c(263): cache: conditional - add cache_in filter and DECLINE [Thu Mar 18 11:16:14 2004] [debug] proxy_http.c(109): proxy: HTTP: canonicalising URL //serverx.com:8100/infocenter/images/file.gif [Thu Mar 18 11:16:14 2004] [debug] mod_proxy.c(459): Trying to run scheme_handler [Thu Mar 18 11:16:14 2004] [debug] proxy_http.c(1076): proxy: HTTP: serving URL http://serverx.com:8100/infocenter/images/file.gif [Thu Mar 18 11:16:14 2004] [debug] proxy_http.c(221): proxy: HTTP connecting http://serverx.com:8100/infocenter/images/file.gif to serverx.com:8100 [Thu Mar 18 11:16:14 2004] [debug] proxy_util.c(1203): proxy: HTTP: fam 2 socket created to connect to serverx.com [Thu Mar 18 11:16:14 2004] [debug] proxy_http.c(370): proxy: socket is connected [Thu Mar 18 11:16:14 2004] [debug] proxy_http.c(404): proxy: connection complete to xx.xx.xxx.xx:8100 (serverx.com) [Thu Mar 18 11:16:14 2004] [debug] proxy_http.c(979): proxy: header only [Thu Mar 18 11:16:14 2004] [debug] mod_cache.c(436): cache: running CACHE_IN filter --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
