Page Speed Optimization Libraries
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces
domain_lawyer.h File Reference
#include <map>
#include <vector>
#include "pagespeed/kernel/base/basictypes.h"
#include "pagespeed/kernel/base/string.h"
#include "pagespeed/kernel/base/string_util.h"

Go to the source code of this file.


class  net_instaweb::DomainLawyer


 Unit-test framework for wget fetcher.

Detailed Description

This class manages the relationships between domains and resources.

The Lawyer keeps track of which domains we are allowed to rewrite, including whether multiple resources can be bundled together.

The Lawyer keeps track of domain mappings to move resources onto a CDN or onto a cookieless domain.

The Lawyer keeps track of domain sharding, for distributing resources across equivalent domains to improve browser download parallelism.

The class here holds state based on the configuration files (e.g. Apache .conf).