if( (req_time = is_cache_valid( r, cfg )) != -1){ /* Can use client side cache? */ ap_update_mtime( r, req_time ); ap_set_last_modified( r ); if( (errstatus = ap_meets_conditions(r)) != OK ) return errstatus; /* No, must use use server side */ /* Send headers */ ap_send_http_header(r); if (r->header_only) { ap_pfclose(r->pool, f); return OK; } /* Send content */ send_cached_page( r, cfg ); } else{ /* Send headers */ ap_send_http_header(r); if (r->header_only) { ap_pfclose(r->pool, f); return OK; } /* Send content */ send_parsed_content(f, r ); }