Page Speed Optimization Libraries  1.9.32.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Friends | List of all members
net_instaweb::SuppressPreheadFilter Class Reference

#include "suppress_prehead_filter.h"

Inheritance diagram for net_instaweb::SuppressPreheadFilter:
net_instaweb::SplitHtmlFilter

Public Member Functions

 SuppressPreheadFilter (RewriteDriver *driver)
 
virtual void StartDocument ()
 
virtual void StartElement (HtmlElement *element)
 
virtual void EndElement (HtmlElement *element)
 
virtual void EndDocument ()
 

Protected Member Functions

virtual void Clear ()
 
RewriteDriverdriver () const
 

Friends

class SuppressPreheadFilterTest
 

Detailed Description

SuppressPreheadFilter extracts the html before the <head> (pre head) and stores it in property cache to be used by FlushEarlyFlow. If a request is flushed early then the pre head value stored by this filter is used for responding to the request. When a response is received by the origin server, then this filter suppresses the pre head so that it is not written to the output again.


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