#include <utility>
#include "base/scoped_ptr.h"
#include "net/instaweb/http/public/url_async_fetcher.h"
#include "net/instaweb/util/public/basictypes.h"
#include "net/instaweb/util/public/string.h"
#include "net/instaweb/util/public/string_util.h"
Go to the source code of this file.
Classes | |
class | net_instaweb::ProxyInterface |
Namespaces | |
namespace | net_instaweb |
NOLINT. |
NOTE: This interface is actively under development and may be changed extensively. Contact us at mod-pagespeed-discuss@googlegroups.com if you are interested in using it.
Simple interface for running Page Speed Automatic as a proxy.
When implementing a Page Speed Automatic proxy, simply construct a ProxyInterface at start up time and call StreamingFetch for every requested resource. StreamingFetch decides how to deal with requests (pagespeed resources will be computed, HTML pages will be proxied and rewritten, and other resources will just be proxied).
Page Speed Automatic currently does not deal with some requests such as POSTs.