Package: apache2
Version: 2.0.54-5
Hello,
Apache should update the cache content when a request forces the cache
to be ignored.
A possible patch:
=========================
--- build-tree.orig/apache2/modules/experimental/mod_cache.c~ 2005-04-11 12:47:03.000000000 -0300
+++ build-tree/apache2/modules/experimental/mod_cache.c 2006-06-30 14:45:09.000000000 -0300
@@ -121,6 +121,9 @@
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
"cache: no-cache or authorization forbids caching "
"of %s", url);
+ cache_remove_url(r, url);
+ ap_add_output_filter_handle(cache_save_filter_handle, NULL, r,
+ r->connection);
return DECLINED;
}
}
=========================
This will remove the file from the cache and schedule recaching.
Thanks,
--
Gustavo Noronha Silva <gustavo.noronha@mds.gov.br>
Ministério do Desenvolvimento Social e Combate à Fome
Attachment:
signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente