The current request falls in one of the MUST RFC condition,
line 168 mod_cache.c:
---------------
else {
if (ap_cache_liststr(NULL, cc_in, "no-store", NULL) || ap_cache_liststr(NULL, pragma, "no-cache", NULL) || (auth != NULL)) { /* delete the previously cached file */ cache_remove_url(r, cache->types, url); ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
"cache: no-store forbids caching of %s", url); return DECLINED; } ---------------
Why a call to cache_remove_url has to be done?
If the entry is in the cache, should it be kept available for other clients doing
request without any of the MUST RFC conditions in the header?
I am adding a condition to meet PR 15870, and don't see the need to
call remove_url().
Thank you,
JJ |