Page Speed Optimization Libraries
1.6.29.3
|
#include "collect_flush_early_content_filter.h"
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 () |
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.
virtual void net_instaweb::CollectFlushEarlyContentFilter::StartDocumentImpl | ( | ) | [virtual] |
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.