|
Page Speed Optimization Libraries
1.13.35.1
|
#include "downstream_caching_directives.h"
Public Member Functions | |
| void | ParseCapabilityListFromRequestHeaders (const RequestHeaders &request_headers) |
| bool | SupportsImageInlining () const |
| bool | SupportsLazyloadImages () const |
| bool | SupportsJsDefer () const |
| bool | SupportsWebp () const |
| bool | SupportsWebpLosslessAlpha () const |
| bool | SupportsWebpAnimated () const |
Static Public Attributes | |
| static const char | kNoCapabilitiesSpecified [] |
This class keeps track of the properties that are specified via directives from the downstream caching layer (e.g. varnish/proxy_cache), to indicate whether certain optimizations are to be supported or not These directives are currently specified via the PS-CapabilityList request header value.
| void net_instaweb::DownstreamCachingDirectives::ParseCapabilityListFromRequestHeaders | ( | const RequestHeaders & | request_headers | ) |
Parses the capability-list related request header value and stores this for future queries regarding supported capabilities for the request.
| bool net_instaweb::DownstreamCachingDirectives::SupportsImageInlining | ( | ) | const |
| bool net_instaweb::DownstreamCachingDirectives::SupportsJsDefer | ( | ) | const |
|
static |
A string that indicates that no UserAgent-dependent-optimization constraints are specified for this request.
1.8.6