DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14556>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14556 mod_cache with mod_mem_cache enabled doesnt cash modified documents [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Additional Comments From [EMAIL PROTECTED] 2002-12-12 22:15 ------- Hi, i just checked your response. Look, that if you change if (lastmod != APR_DATE_BAD) to if ((lastmod != APR_DATE_BAD) && (lastmod < date)) that will work, but it will break advantage of conf->factor future, and modified documents always will be based on conf->defex variable. So what will be the difference between document that is modified every 10 sec and another that is modified every 5 hours? As i got, the problem is that mod_cache doesnt refresh "Date" value in cached headers untill apache restart, so, instead of that fix above, line 809 should be changed from if (info->date == APR_DATE_BAD) { to if ((info->date == APR_DATE_BAD) || (lastmod >= info->date)) { this will update date header in cache after document was modified, and after that all will work fine, with conf->factor etc. as like apache was restarted. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]