httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Jacques Clar" <>
Subject [Q] - mod_cache - Cache Control: no-cache/no-store
Date Fri, 09 Jan 2004 17:29:38 GMT
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",
            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,


View raw message