App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Static Public Attributes | List of all members
google.appengine.api.pagespeedinfo.PagespeedEntry Class Reference
Inheritance diagram for google.appengine.api.pagespeedinfo.PagespeedEntry:
google.appengine.api.validation.Validated google.appengine.api.validation.ValidatedBase

Static Public Attributes

dictionary ATTRIBUTES
 
- Static Public Attributes inherited from google.appengine.api.validation.Validated
 ATTRIBUTES = None
 

Additional Inherited Members

- Public Member Functions inherited from google.appengine.api.validation.Validated
def __init__
 
def GetValidator
 
def Set
 
def Get
 
def CheckInitialized
 
def __setattr__
 
def __str__
 
def __repr__
 
def __eq__
 
def __ne__
 
def __hash__
 
def ToDict
 
- Public Member Functions inherited from google.appengine.api.validation.ValidatedBase
def GetValidator
 
def SetMultiple
 
def Set
 
def CheckInitialized
 
def ToDict
 
def ToYAML
 

Detailed Description

Describes the format of a pagespeed configuration from a yaml file.

URL blacklist entries are patterns (with '?' and '*' as wildcards).  Any URLs
that match a pattern on the blacklist will not be optimized by PageSpeed.

Rewriter names are strings (like 'CombineCss' or 'RemoveComments') describing
individual PageSpeed rewriters.  A full list of valid rewriter names can be
found in the PageSpeed documentation.

The domains-to-rewrite list is a whitelist of domain name patterns with '*' as
a wildcard, optionally starting with 'http://' or 'https://'.  If no protocol
is given, 'http://' is assumed.  A resource will only be rewritten if it is on
the same domain as the HTML that references it, or if its domain is on the
domains-to-rewrite list.

Member Data Documentation

dictionary google.appengine.api.pagespeedinfo.PagespeedEntry.ATTRIBUTES
static
Initial value:
1 = {
2  URL_BLACKLIST: validation.Optional(
3  validation.Repeated(validation.Regex(_URL_BLACKLIST_REGEX))),
4  ENABLED_REWRITERS: validation.Optional(
5  validation.Repeated(validation.Regex(_REWRITER_NAME_REGEX))),
6  DISABLED_REWRITERS: validation.Optional(
7  validation.Repeated(validation.Regex(_REWRITER_NAME_REGEX))),
8  DOMAINS_TO_REWRITE: validation.Optional(
9  validation.Repeated(validation.Regex(_DOMAINS_TO_REWRITE_REGEX))),
10  }

The documentation for this class was generated from the following file: