Page Speed Optimization Libraries
1.7.30.3
|
#include "flush_early_flow.h"
Static Public Member Functions | |
static void | TryStart (const GoogleString &url, AsyncFetch **base_fetch, RewriteDriver *driver, ProxyFetchFactory *factory, ProxyFetchPropertyCallbackCollector *property_callback) |
static void | InitStats (Statistics *stats) |
Static Public Attributes | |
static const char | kNumRequestsFlushedEarly [] |
static const char | kNumResourcesFlushedEarly [] |
static const char | kFlushEarlyRewriteLatencyMs [] |
static const char | kNumFlushEarlyHttpStatusCodeDeemedUnstable [] |
static const char | kNumFlushEarlyRequestsRedirected [] |
static const char | kRedirectPageJs [] |
FlushEarlyFlow manages the flow for the rewriters which flush a response to the client before receiving a response from the origin server. If a request can be responded to early, then FlushEarlyFlow is initiated. It also has helper functions to update the property cache with the response headers which are used when a request is responded to early.