Searched refs:maxstale (Results 1 - 1 of 1) sorted by relevance

/httpd/modules/cache/
H A Dcache_util.c518 apr_int64_t age, maxage_req, maxage_cresp, maxage, smaxage, maxstale; local
639 maxstale = cache->control_in.max_stale_value;
650 maxstale = APR_INT64_C(86400*365);
654 maxstale = 0;
665 /* override maxstale if must-revalidate, proxy-revalidate or s-maxage */
666 if (maxstale && (h->cache_obj->info.control.must_revalidate
668 maxstale = 0;
672 if (((maxage != -1) && (age < (maxage + maxstale - minfresh))) ||
675 (age < (apr_time_sec(info->expire - info->date) + maxstale - minfresh)))) {
684 /* add warning if maxstale overrod
[all...]

Completed in 490 milliseconds