Page Speed Optimization Libraries
1.3.25.1
|
#include "apache_config.h"
Classes | |
class | ApacheOption |
Public Types | |
enum | RefererStatisticsOutputLevel { kFast, kSimple, kOrganized } |
Public Member Functions | |
ApacheConfig (const StringPiece &dir) | |
StringPiece | description () const |
void | set_description (const StringPiece &x) |
int64 | slurp_flush_limit () const |
void | set_slurp_flush_limit (int64 x) |
bool | collect_referer_statistics () const |
void | set_collect_referer_statistics (bool x) |
bool | hash_referer_statistics () const |
void | set_hash_referer_statistics (bool x) |
bool | slurp_read_only () const |
void | set_slurp_read_only (bool x) |
bool | rate_limit_background_fetches () const |
RefererStatisticsOutputLevel | referer_statistics_output_level () const |
void | set_referer_statistics_output_level (RefererStatisticsOutputLevel x) |
const GoogleString & | slurp_directory () const |
void | set_slurp_directory (GoogleString x) |
bool | test_proxy () const |
void | set_test_proxy (bool x) |
GoogleString | test_proxy_slurp () const |
bool | slurping_enabled () const |
Helper functions. | |
bool | slurping_enabled_read_only () const |
bool | experimental_fetch_from_mod_spdy () const |
virtual ApacheConfig * | Clone () const |
Make an identical copy of these options and return it. | |
Static Public Member Functions | |
static bool | ParseRefererStatisticsOutputLevel (const StringPiece &in, RefererStatisticsOutputLevel *out) |
static void | Initialize () |
static void | Terminate () |
static const ApacheConfig * | DynamicCast (const RewriteOptions *instance) |
static ApacheConfig * | DynamicCast (RewriteOptions *instance) |
Establishes a context for VirtualHosts and directory-scoped options, either via .htaccess or <Directory>...</Directory>.
StringPiece net_instaweb::ApacheConfig::description | ( | ) | const [inline] |
Human-readable description of what this configuration is for. This may be a directory, or a string indicating a combination of directives for multiple directories.
static const ApacheConfig* net_instaweb::ApacheConfig::DynamicCast | ( | const RewriteOptions * | instance | ) | [static] |
Returns a suitably down cast version of 'instance' if it is an instance of this class, NULL if not.
static void net_instaweb::ApacheConfig::Initialize | ( | ) | [static] |
Static initialization of members. Calls to Initialize and Terminate must be matched. Returns 'true' for the first Initialize call and the last Terminate call.
Reimplemented from net_instaweb::SystemRewriteOptions.
bool net_instaweb::ApacheConfig::test_proxy | ( | ) | const [inline] |
If this is set to true, we'll turn on our fallback proxy-like behavior on non-.pagespeed. URLs without changing the main fetcher from Serf (the way the slurp options would).
GoogleString net_instaweb::ApacheConfig::test_proxy_slurp | ( | ) | const [inline] |
This configures the fetcher we use for fallback handling if test_proxy() is on: