ap_remove_output_filter(cache->remove_url_filter);
if (cache->stale_handle
- && !cache->stale_handle->cache_obj->info.control.must_revalidate) {
+ && !cache->stale_handle->cache_obj->info.control.must_revalidate
+ && !cache->stale_handle->cache_obj->info.control.proxy_revalidate) {
const char *warn_head;
/* morph the current save filter into the out filter, and serve from
reason = "Cache-Control: private present";
}
else if (apr_table_get(r->headers_in, "Authorization")
- && !(control.s_maxage || control.must_revalidate || control.public)) {
+ && !(control.s_maxage || control.must_revalidate
+ || control.proxy_revalidate || control.public)) {
/* RFC2616 14.8 Authorisation:
* if authorisation is included in the request, we don't cache,
* but we can cache if the following exceptions are true:
cache_request_rec *cache = (cache_request_rec *) dummy;
if (cache->stale_handle && cache->save_filter
- && !cache->stale_handle->cache_obj->info.control.must_revalidate) {
+ && !cache->stale_handle->cache_obj->info.control.must_revalidate
+ && !cache->stale_handle->cache_obj->info.control.proxy_revalidate) {
const char *warn_head;
cache_server_conf
*conf =