/* These come from the cached entity. */
expstr = apr_table_get(h->resp_hdrs, "Expires");
- if (h->cache_obj->info.control.no_cache) {
+ if (h->cache_obj->info.control.no_cache
+ || h->cache_obj->info.control.no_cache_header
+ || h->cache_obj->info.control.private_header) {
/*
- * The cached entity contained Cache-Control: no-cache, so treat as
- * stale causing revalidation
+ * The cached entity contained Cache-Control: no-cache, or a
+ * no-cache with a header present, or a private with a header
+ * present, so treat as stale causing revalidation.
*/
return 0;
}