Page Speed Optimization Libraries  1.7.30.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
net_instaweb::CollectFlushEarlyContentFilter Class Reference

#include "collect_flush_early_content_filter.h"

Inheritance diagram for net_instaweb::CollectFlushEarlyContentFilter:
net_instaweb::RewriteFilter net_instaweb::CommonFilter

List of all members.

Public Member Functions

 CollectFlushEarlyContentFilter (RewriteDriver *driver)
virtual void StartDocumentImpl ()
virtual void EndDocument ()
virtual void StartElementImpl (HtmlElement *element)
virtual void EndElementImpl (HtmlElement *element)
virtual const char * Name () const
virtual const char * id () const

Protected Member Functions

virtual void Clear ()

Detailed Description

CollectFlushEarlyContentFilter extracts the html for non-inlined resources that we want to flush early and stores it in property cache to be used by FlushEarlyFlow. If a request is flushed early then this HTML is used to make the client download resources early. pagespeed_size attribute is added to the html elements which are being flushed in the flush early flow. This information will be used by FlushEarlyContentWriterFilter to flush more resources based on origin server fetch latency.


Member Function Documentation

Overload these implementer methods: Intentionally left abstract so that implementers don't forget to change the name from Blah to BlahImpl.

Implements net_instaweb::CommonFilter.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines